A collection that stores XmlElementSelector objects.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class XmlSelectorCollection : CollectionBase, IList, ICollection, IEnumerable
Inheritance: objectCollectionBaseXmlSelectorCollection
Implements:
Inherited Members
Constructors
Initializes a new instance of XmlSelectorCollection.
public XmlSelectorCollection()
Initializes a new instance of XmlSelectorCollection.
Initializes a new instance of XmlSelectorCollection containing any array of XmlElementSelector objects.
public XmlSelectorCollection(XmlElementSelector[] value)
A array of XmlElementSelector objects with which to intialize the collection
Initializes a new instance of XmlSelectorCollection based on another XmlSelectorCollection.
public XmlSelectorCollection(XmlSelectorCollection value)
A XmlSelectorCollection from which the contents are copied
Properties
Represents the entry at the specified index of the XmlElementSelector.
public XmlElementSelector this[int index] { get; set; }
The zero-based index of the entry to locate in the collection.
Property Value:The entry at the specified index of the collection.
Exceptions:index is outside the valid range of indexes for the collection.
Methods
Adds a XmlElementSelector with the specified value to the XmlSelectorCollection .
public int Add(XmlElementSelector value)
The XmlElementSelector to add.
Returns:The index at which the new element was inserted.
Copies the elements of an array to the end of the XmlSelectorCollection.
public void AddRange(XmlElementSelector[] value)
An array of type XmlElementSelector containing the objects to add to the collection.
Adds the contents of another XmlSelectorCollection to the end of the collection.
public void AddRange(XmlSelectorCollection value)
A XmlSelectorCollection containing the objects to add to the collection.
Gets a value indicating whether the XmlSelectorCollection contains the specified XmlElementSelector.
public bool Contains(XmlElementSelector value)
The XmlElementSelector to locate.
Returns:true if the XmlElementSelector is contained in the collection; otherwise, false.
Copies the XmlSelectorCollection values to a one-dimensional Array instance at the specified index.
public void CopyTo(XmlElementSelector[] array, int index)
The one-dimensional Array that is the destination of the values copied from XmlSelectorCollection .
indexintThe index in array where copying begins.
array is multidimensional.
-or-
The number of elements in the XmlSelectorCollection is greater than the available space between index and the end of array.
array is null.
index is less than array's lowbound.
Returns an enumerator that can iterate through the XmlSelectorCollection .
public XmlSelectorCollection.XmlSelectorEnumerator GetEnumerator()
XmlSelectorCollection.XmlSelectorEnumerator
None.
Returns the index of a XmlElementSelector in the XmlSelectorCollection .
public int IndexOf(XmlElementSelector value)
The XmlElementSelector to locate.
Returns:The index of the XmlElementSelector of value in the
XmlSelectorCollection, if found; otherwise, -1.
Inserts a XmlElementSelector into the XmlSelectorCollection at the specified index.
public void Insert(int index, XmlElementSelector value)
The zero-based index where value should be inserted.
The XmlElementSelector to insert.
Removes a specific XmlElementSelector from the XmlSelectorCollection .
public void Remove(XmlElementSelector value)
The XmlElementSelector to remove from the XmlSelectorCollection .
Exceptions:value is not found in the Collection.