Class
XmlPropertySettingGroupCollection

A collection that stores XmlPropertySettingGroup objects.

Definition

Constructors

XmlPropertySettingGroupCollection()

Initializes a new instance of XmlPropertySettingGroupCollection.

Declaration

cs-api-definition
public XmlPropertySettingGroupCollection()

XmlPropertySettingGroupCollection(XmlPropertySettingGroupCollection)

Initializes a new instance of XmlPropertySettingGroupCollection based on another XmlPropertySettingGroupCollection.

Declaration

cs-api-definition
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

cs-api-definition
public XmlPropertySettingGroupCollection(XmlPropertySettingGroup[] value)

Parameters

value

XmlPropertySettingGroup[]

A array of XmlPropertySettingGroup objects with which to intialize the collection

XmlPropertySettingGroupCollection(int)

Declaration

cs-api-definition
public XmlPropertySettingGroupCollection(int capacity)

Parameters

capacity

int

Properties

this[int]

Represents the entry at the specified index of the XmlPropertySettingGroup.

Declaration

cs-api-definition
public XmlPropertySettingGroup this[int index] { get; set; }

Parameters

index

int

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

ArgumentOutOfRangeException

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

cs-api-definition
public int Add(XmlPropertySettingGroup value)

Parameters

value

XmlPropertySettingGroup

The XmlPropertySettingGroup to add.

Returns

int

The index at which the new element was inserted.

AddRange(XmlPropertySettingGroupCollection)

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

Declaration

cs-api-definition
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

cs-api-definition
public void AddRange(XmlPropertySettingGroup[] value)

Parameters

value

XmlPropertySettingGroup[]

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

cs-api-definition
public bool Contains(XmlPropertySettingGroup value)

Parameters

value

XmlPropertySettingGroup

The XmlPropertySettingGroup to locate.

Returns

bool

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

cs-api-definition
public void CopyTo(XmlPropertySettingGroup[] array, int index)

Parameters

array

XmlPropertySettingGroup[]

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

index

int

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.

GetEnumerator()

Returns an enumerator that can iterate through the XmlPropertySettingGroupCollection .

Declaration

cs-api-definition
public XmlPropertySettingGroupCollection.XmlPropertySettingGroupEnumerator GetEnumerator()

Returns

XmlPropertySettingGroupCollection.XmlPropertySettingGroupEnumerator

None.

IndexOf(XmlPropertySettingGroup)

Declaration

cs-api-definition
public int IndexOf(XmlPropertySettingGroup value)

Parameters

value

XmlPropertySettingGroup

The XmlPropertySettingGroup to locate.

Returns

int

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

cs-api-definition
public void Insert(int index, XmlPropertySettingGroup value)

Parameters

index

int

The zero-based index where value should be inserted.

value

XmlPropertySettingGroup

The XmlPropertySettingGroup to insert.

Remove(XmlPropertySettingGroup)

Declaration

cs-api-definition
public void Remove(XmlPropertySettingGroup value)

Parameters

value

XmlPropertySettingGroup

The XmlPropertySettingGroup to remove from the XmlPropertySettingGroupCollection .

Exceptions

ArgumentException

value is not found in the Collection.