Class XmlPropertySettingGroupCollection
A collection that stores XmlPropertySettingGroup objects.
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class XmlPropertySettingGroupCollection : CollectionBase, IList, ICollection, IEnumerable
Constructors
XmlPropertySettingGroupCollection()
Initializes a new instance of XmlPropertySettingGroupCollection.
Declaration
public XmlPropertySettingGroupCollection()
XmlPropertySettingGroupCollection(Int32)
Declaration
public XmlPropertySettingGroupCollection(int capacity)
Parameters
System.Int32
capacity
|
XmlPropertySettingGroupCollection(XmlPropertySettingGroup[])
Initializes a new instance of XmlPropertySettingGroupCollection containing any array of XmlPropertySettingGroup objects.
Declaration
public XmlPropertySettingGroupCollection(XmlPropertySettingGroup[] value)
Parameters
XmlPropertySettingGroup[]
value
A array of XmlPropertySettingGroup objects with which to intialize the collection |
XmlPropertySettingGroupCollection(XmlPropertySettingGroupCollection)
Initializes a new instance of XmlPropertySettingGroupCollection based on another XmlPropertySettingGroupCollection.
Declaration
public XmlPropertySettingGroupCollection(XmlPropertySettingGroupCollection value)
Parameters
XmlPropertySettingGroupCollection
value
A XmlPropertySettingGroupCollection from which the contents are copied |
Properties
Item[Int32]
Represents the entry at the specified index of the XmlPropertySettingGroup.
Declaration
public XmlPropertySettingGroup this[int index] { get; set; }
Parameters
System.Int32
index
The zero-based index of the entry to locate in the collection. |
Property Value
XmlPropertySettingGroup
The entry at the specified index of the collection. |
Exceptions
System.ArgumentOutOfRangeException
|
Methods
Add(XmlPropertySettingGroup)
Adds a XmlPropertySettingGroup with the specified value to the XmlPropertySettingGroupCollection .
Declaration
public int Add(XmlPropertySettingGroup value)
Parameters
XmlPropertySettingGroup
value
The XmlPropertySettingGroup to add. |
Returns
System.Int32
The index at which the new element was inserted. |
AddRange(XmlPropertySettingGroup[])
Copies the elements of an array to the end of the XmlPropertySettingGroupCollection.
Declaration
public void AddRange(XmlPropertySettingGroup[] value)
Parameters
XmlPropertySettingGroup[]
value
An array of type XmlPropertySettingGroup containing the objects to add to the collection. |
AddRange(XmlPropertySettingGroupCollection)
Adds the contents of another XmlPropertySettingGroupCollection to the end of the collection.
Declaration
public void AddRange(XmlPropertySettingGroupCollection value)
Parameters
XmlPropertySettingGroupCollection
value
A XmlPropertySettingGroupCollection 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
XmlPropertySettingGroup
value
The XmlPropertySettingGroup to locate. |
Returns
System.Boolean
true if the XmlPropertySettingGroup is contained in the collection; otherwise, false. |
CopyTo(XmlPropertySettingGroup[], Int32)
Copies the XmlPropertySettingGroupCollection values to a one-dimensional System.Array instance at the specified index.
Declaration
public void CopyTo(XmlPropertySettingGroup[] array, int index)
Parameters
XmlPropertySettingGroup[]
array
The one-dimensional System.Array that is the destination of the values copied from XmlPropertySettingGroupCollection . |
System.Int32
index
The index in |
Exceptions
System.ArgumentException
-or- The number of elements in the XmlPropertySettingGroupCollection is greater than the available space between |
System.ArgumentNullException
|
System.ArgumentOutOfRangeException
|
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
XmlPropertySettingGroup
value
The XmlPropertySettingGroup to locate. |
Returns
System.Int32
The index of the XmlPropertySettingGroup of |
Insert(Int32, XmlPropertySettingGroup)
Inserts a XmlPropertySettingGroup into the XmlPropertySettingGroupCollection at the specified index.
Declaration
public void Insert(int index, XmlPropertySettingGroup value)
Parameters
System.Int32
index
The zero-based index where |
XmlPropertySettingGroup
value
|
Remove(XmlPropertySettingGroup)
Removes a specific XmlPropertySettingGroup from the XmlPropertySettingGroupCollection .
Declaration
public void Remove(XmlPropertySettingGroup value)
Parameters
XmlPropertySettingGroup
value
The XmlPropertySettingGroup to remove from the XmlPropertySettingGroupCollection . |
Exceptions
System.ArgumentException
|