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