ClassXmlPropertySettingCollection
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
XmlPropertySettingCollection()
Initializes a new instance of XmlPropertySettingCollection.
Declaration
public XmlPropertySettingCollection()
XmlPropertySettingCollection(XmlPropertySettingCollection)
Initializes a new instance of XmlPropertySettingCollection based on another XmlPropertySettingCollection.
Declaration
public XmlPropertySettingCollection(XmlPropertySettingCollection value)
Parameters
value
A XmlPropertySettingCollection from which the contents are copied
XmlPropertySettingCollection(XmlPropertySetting[])
Initializes a new instance of XmlPropertySettingCollection containing any array of XmlPropertySetting objects.
Declaration
public XmlPropertySettingCollection(XmlPropertySetting[] value)
Parameters
value
A array of XmlPropertySetting objects with which to intialize the collection
Properties
this[int]
Represents the entry at the specified index of the XmlPropertySetting.
Declaration
public XmlPropertySetting this[int index] { get; set; }
Parameters
index
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
Add(XmlPropertySetting)
Adds a XmlPropertySetting with the specified value to the XmlPropertySettingCollection .
Declaration
public int Add(XmlPropertySetting value)
Parameters
value
The XmlPropertySetting to add.
Returns
The index at which the new element was inserted.
AddRange(XmlPropertySettingCollection)
Adds the contents of another XmlPropertySettingCollection to the end of the collection.
Declaration
public void AddRange(XmlPropertySettingCollection value)
Parameters
value
A XmlPropertySettingCollection containing the objects to add to the collection.
AddRange(XmlPropertySetting[])
Copies the elements of an array to the end of the XmlPropertySettingCollection.
Declaration
public void AddRange(XmlPropertySetting[] value)
Parameters
value
An array of type XmlPropertySetting containing the objects to add to the collection.
Contains(XmlPropertySetting)
Gets a value indicating whether the XmlPropertySettingCollection contains the specified XmlPropertySetting.
Declaration
public bool Contains(XmlPropertySetting value)
Parameters
value
The XmlPropertySetting to locate.
Returns
true if the XmlPropertySetting is contained in the collection; otherwise, false.
CopyTo(XmlPropertySetting[], int)
Copies the XmlPropertySettingCollection values to a one-dimensional Array instance at the specified index.
Declaration
public void CopyTo(XmlPropertySetting[] array, int index)
Parameters
array
The one-dimensional Array that is the destination of the values copied from XmlPropertySettingCollection .
index
The index in array where copying begins.
Exceptions
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.
GetEnumerator()
Returns an enumerator that can iterate through the XmlPropertySettingCollection .
Declaration
public XmlPropertySettingCollection.XmlPropertySettingEnumerator GetEnumerator()
Returns
XmlPropertySettingCollection.XmlPropertySettingEnumerator
None.
IndexOf(XmlPropertySetting)
Returns the index of a XmlPropertySetting in the XmlPropertySettingCollection .
Declaration
public int IndexOf(XmlPropertySetting value)
Parameters
value
The XmlPropertySetting to locate.
Returns
The index of the XmlPropertySetting of value in the
XmlPropertySettingCollection, if found; otherwise, -1.
Insert(int, XmlPropertySetting)
Inserts a XmlPropertySetting into the XmlPropertySettingCollection at the specified index.
Declaration
public void Insert(int index, XmlPropertySetting value)
Parameters
index
The zero-based index where value should be inserted.
value
The XmlPropertySetting to insert.
Remove(XmlPropertySetting)
Removes a specific XmlPropertySetting from the XmlPropertySettingCollection .
Declaration
public void Remove(XmlPropertySetting value)
Parameters
value
The XmlPropertySetting to remove from the XmlPropertySettingCollection .
Exceptions
value is not found in the Collection.