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