Class Xmlsélectionroutenodevalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvaluepartcollection
Represents a collection of value parts used in an XPath selection route. This class is part of the internal implementation details of XPath evaluation within the .NET Framework's System.Xml library. It facilitates the structured representation of intermediate results during complex XPath queries.
Summary
This class is not intended for direct use by developers. It plays a crucial role in the internal processing of XPath expressions, particularly when dealing with node value comparisons and selections. Its members are designed to manage and organize the sequential parts that constitute a value relevant to an XPath query.
Syntax
public sealed class Xmlsélectionroutenodevalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvaluepartcollection
: ICollection, IEnumerable
Members
-
Count
public int Count { get; }Gets the number of value parts in the collection.
-
IsReadOnly
public bool IsReadOnly { get; }Gets a value indicating whether the collection is read-only.
-
GetEnumerator
public IEnumerator GetEnumerator();Returns an enumerator that iterates through the collection.
-
Add
public void Add(Xmlsélectionroutenodevalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvaluepartvalue part);Adds a value part to the collection.
-
Clear
public void Clear();Removes all value parts from the collection.
-
Contains
public bool Contains(Xmlsélectionroutenodevalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvaluepartvalue part);Determines whether the collection contains a specific value part.
-
CopyTo
public void CopyTo(Xmlsélectionroutenodevalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvaluepartvalue[] array, int index);Copies the collection to an array, starting at the specified index.
-
Remove
public bool Remove(Xmlsélectionroutenodevalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvaluepartvalue part);Removes the first occurrence of a specific value part from the collection.
-
GetArray
public Xmlsélectionroutenodevalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvaluepartvalue[] GetArray();Returns the collection as an array of value parts.
Count Property
Gets the number of value parts currently contained in the collection.
public int Count { get; }
IsReadOnly Property
Indicates whether the collection can be modified after it has been created. For this internal collection, it is typically not intended to be modified externally.
public bool IsReadOnly { get; }
GetEnumerator Method
Provides an enumerator for iterating through the value parts within this collection.
public IEnumerator GetEnumerator()
Add Method
Appends a new value part to the end of the collection. This is part of the internal mechanism for building up a selection route's value representation.
public void Add(Xmlsélectionroutenodevalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvaluepartvalue part)
Clear Method
Resets the collection, removing all currently stored value parts.
public void Clear()
Contains Method
Checks if a specific value part already exists within the collection.
public bool Contains(Xmlsélectionroutenodevalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvaluepartvalue part)
CopyTo Method
Copies the elements of the collection into an array, specifying a starting index.
public void CopyTo(Xmlsélectionroutenodevalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvaluepartvalue[] array, int index)
Remove Method
Removes the first occurrence of a specified value part from the collection.
public bool Remove(Xmlsélectionroutenodevalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvaluepartvalue part)
GetArray Method
Converts the collection into a standard array for scenarios where array-based access is required.
public Xmlsélectionroutenodevalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvalueparttyperesultvaluepartvalue[] GetArray()