Table of Contents

Class ExchangeCustomAttributeCollection

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a collection of Exchange custom attributes.

public class ExchangeCustomAttributeCollection : Collection<ExchangeCustomAttribute>, IList<ExchangeCustomAttribute>, ICollection<ExchangeCustomAttribute>, IList, ICollection, IReadOnlyList<ExchangeCustomAttribute>, IReadOnlyCollection<ExchangeCustomAttribute>, IEnumerable<ExchangeCustomAttribute>, IEnumerable
Inheritance
ExchangeCustomAttributeCollection
Implements
Inherited Members

Constructors

ExchangeCustomAttributeCollection()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.ExchangeCustomAttributeCollection class.

public ExchangeCustomAttributeCollection()

Methods

Add(int, string)

Adds a custom attribute to the collection.

public ExchangeCustomAttribute Add(int index, string value)

Parameters

index int

The custom attribute index.

value string

The custom attribute value.

Returns

ExchangeCustomAttribute

The CENTREL.XIA.Configuration.Types.ExchangeCustomAttribute that was added to the collection.

ExistsByIndex(int)

Returns a System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.ExchangeCustomAttribute with the specified index exists within the collection.

public bool ExistsByIndex(int index)

Parameters

index int

The index of the CENTREL.XIA.Configuration.Types.ExchangeCustomAttribute to locate.

Returns

bool

A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.ExchangeCustomAttribute with the specified index exists within the collection.

FindByIndex(int)

Returns the CENTREL.XIA.Configuration.Types.ExchangeCustomAttribute with the specified index, or null if no CENTREL.XIA.Configuration.Types.ExchangeCustomAttribute with that index is found.

public ExchangeCustomAttribute FindByIndex(int index)

Parameters

index int

The index of the CENTREL.XIA.Configuration.Types.ExchangeCustomAttribute to locate.

Returns

ExchangeCustomAttribute

The CENTREL.XIA.Configuration.Types.ExchangeCustomAttribute with the specified index.

InsertItem(int, ExchangeCustomAttribute)

Occurs when an item is inserted into the collection.

protected override void InsertItem(int index, ExchangeCustomAttribute item)

Parameters

index int

The index of the item to insert.

item ExchangeCustomAttribute

The item to insert.

Sort()

Sorts the values in the collection.

public void Sort()