A collection that stores XmlPropertySetting objects.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class XmlPropertySettingCollection : CollectionBase, IList, ICollection, IEnumerable
Inheritance: objectCollectionBaseXmlPropertySettingCollection
Implements:
Inherited Members
Constructors
Initializes a new instance of XmlPropertySettingCollection.
public XmlPropertySettingCollection()
Initializes a new instance of XmlPropertySettingCollection containing any array of XmlPropertySetting objects.
public XmlPropertySettingCollection(XmlPropertySetting[] value)
A array of XmlPropertySetting objects with which to intialize the collection
Initializes a new instance of XmlPropertySettingCollection based on another XmlPropertySettingCollection.
public XmlPropertySettingCollection(XmlPropertySettingCollection value)
A XmlPropertySettingCollection from which the contents are copied
Properties
Represents the entry at the specified index of the XmlPropertySetting.
public XmlPropertySetting 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 XmlPropertySetting with the specified value to the XmlPropertySettingCollection .
public int Add(XmlPropertySetting value)
The XmlPropertySetting to add.
Returns:The index at which the new element was inserted.
Copies the elements of an array to the end of the XmlPropertySettingCollection.
public void AddRange(XmlPropertySetting[] value)
An array of type XmlPropertySetting containing the objects to add to the collection.
Adds the contents of another XmlPropertySettingCollection to the end of the collection.
public void AddRange(XmlPropertySettingCollection value)
A XmlPropertySettingCollection containing the objects to add to the collection.
Gets a value indicating whether the XmlPropertySettingCollection contains the specified XmlPropertySetting.
public bool Contains(XmlPropertySetting value)
The XmlPropertySetting to locate.
Returns:true if the XmlPropertySetting is contained in the collection; otherwise, false.
Copies the XmlPropertySettingCollection values to a one-dimensional Array instance at the specified index.
public void CopyTo(XmlPropertySetting[] array, int index)
The one-dimensional Array that is the destination of the values copied from XmlPropertySettingCollection .
indexintThe index in array where copying begins.
array is multidimensional.
-or-
The number of elements in the XmlPropertySettingCollection 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 XmlPropertySettingCollection .
public XmlPropertySettingCollection.XmlPropertySettingEnumerator GetEnumerator()
XmlPropertySettingCollection.XmlPropertySettingEnumerator
None.
Returns the index of a XmlPropertySetting in the XmlPropertySettingCollection .
public int IndexOf(XmlPropertySetting value)
The XmlPropertySetting to locate.
Returns:The index of the XmlPropertySetting of value in the
XmlPropertySettingCollection, if found; otherwise, -1.
Inserts a XmlPropertySetting into the XmlPropertySettingCollection at the specified index.
public void Insert(int index, XmlPropertySetting value)
The zero-based index where value should be inserted.
The XmlPropertySetting to insert.
Removes a specific XmlPropertySetting from the XmlPropertySettingCollection .
public void Remove(XmlPropertySetting value)
The XmlPropertySetting to remove from the XmlPropertySettingCollection .
Exceptions:value is not found in the Collection.