New to Telerik UI for WinFormsStart a free 30-day trial

A collection that stores XmlPropertySettingGroup objects.

Definition

Constructors

Initializes a new instance of XmlPropertySettingGroupCollection.

C#
public XmlPropertySettingGroupCollection()
C#
public XmlPropertySettingGroupCollection(int capacity)
Parameters:capacityint

Initializes a new instance of XmlPropertySettingGroupCollection containing any array of XmlPropertySettingGroup objects.

C#
public XmlPropertySettingGroupCollection(XmlPropertySettingGroup[] value)
Parameters:valueXmlPropertySettingGroup[]

A array of XmlPropertySettingGroup objects with which to intialize the collection

Initializes a new instance of XmlPropertySettingGroupCollection based on another XmlPropertySettingGroupCollection.

C#
public XmlPropertySettingGroupCollection(XmlPropertySettingGroupCollection value)
Parameters:valueXmlPropertySettingGroupCollection

A XmlPropertySettingGroupCollection from which the contents are copied

Properties

Represents the entry at the specified index of the XmlPropertySettingGroup.

C#
public XmlPropertySettingGroup this[int index] { get; set; }
Parameters:indexint

The zero-based index of the entry to locate in the collection.

Property Value:

The entry at the specified index of the collection.

Exceptions:

ArgumentOutOfRangeException

index is outside the valid range of indexes for the collection.

Methods

Adds a XmlPropertySettingGroup with the specified value to the XmlPropertySettingGroupCollection .

C#
public int Add(XmlPropertySettingGroup value)
Parameters:valueXmlPropertySettingGroup

The XmlPropertySettingGroup to add.

Returns:

int

The index at which the new element was inserted.

Copies the elements of an array to the end of the XmlPropertySettingGroupCollection.

C#
public void AddRange(XmlPropertySettingGroup[] value)
Parameters:valueXmlPropertySettingGroup[]

An array of type XmlPropertySettingGroup containing the objects to add to the collection.

Adds the contents of another XmlPropertySettingGroupCollection to the end of the collection.

C#
public void AddRange(XmlPropertySettingGroupCollection value)
Parameters:valueXmlPropertySettingGroupCollection

A XmlPropertySettingGroupCollection containing the objects to add to the collection.

Gets a value indicating whether the XmlPropertySettingGroupCollection contains the specified XmlPropertySettingGroup.

C#
public bool Contains(XmlPropertySettingGroup value)
Parameters:valueXmlPropertySettingGroup

The XmlPropertySettingGroup to locate.

Returns:

bool

true if the XmlPropertySettingGroup is contained in the collection; otherwise, false.

Copies the XmlPropertySettingGroupCollection values to a one-dimensional Array instance at the specified index.

C#
public void CopyTo(XmlPropertySettingGroup[] array, int index)
Parameters:arrayXmlPropertySettingGroup[]

The one-dimensional Array that is the destination of the values copied from XmlPropertySettingGroupCollection .

indexint

The index in array where copying begins.

Exceptions:

ArgumentException

array is multidimensional.

-or-

The number of elements in the XmlPropertySettingGroupCollection is greater than the available space between index and the end of array.

ArgumentNullException

array is null.

ArgumentOutOfRangeException

index is less than array's lowbound.

Returns an enumerator that can iterate through the XmlPropertySettingGroupCollection .

C#
public XmlPropertySettingGroupCollection.XmlPropertySettingGroupEnumerator GetEnumerator()
Returns:

XmlPropertySettingGroupCollection.XmlPropertySettingGroupEnumerator

None.

C#
public int IndexOf(XmlPropertySettingGroup value)
Parameters:valueXmlPropertySettingGroup

The XmlPropertySettingGroup to locate.

Returns:

int

The index of the XmlPropertySettingGroup of value in the XmlPropertySettingGroupCollection, if found; otherwise, -1.

Inserts a XmlPropertySettingGroup into the XmlPropertySettingGroupCollection at the specified index.

C#
public void Insert(int index, XmlPropertySettingGroup value)
Parameters:indexint

The zero-based index where value should be inserted.

valueXmlPropertySettingGroup

The XmlPropertySettingGroup to insert.

C#
public void Remove(XmlPropertySettingGroup value)
Parameters:valueXmlPropertySettingGroup

The XmlPropertySettingGroup to remove from the XmlPropertySettingGroupCollection .

Exceptions:

ArgumentException

value is not found in the Collection.