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
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
indexintThe 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
indexintThe 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
indexintThe index of the item to insert.
itemExchangeCustomAttributeThe item to insert.
Sort()
Sorts the values in the collection.
public void Sort()