IEnumValueCollection<TEnumValue, TValue> Interface
Interface for collections of IEnumValues. Implements the ICollection<T>
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public interface IEnumValueCollection<TEnumValue, TValue> : ICollection<TEnumValue>,
IEnumerable<TEnumValue>, IEnumerable
where TEnumValue : class, IEnumValue
where TValue : IConvertibleType Parameters
|
TEnumValue | |
|
TValue |
The IEnumValueCollection<TEnumValue, TValue> type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the number of elements contained in the ICollection<T>. | |
|
|
Gets a value indicating whether the ICollection<T> is read-only. | |
|
|
Gets or sets the element at the specified index. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Adds an item to the ICollection<T>. | |
|
|
Removes all items from the ICollection<T>. | |
|
|
Determines whether the ICollection<T> contains a specific value. | |
|
|
Determines whether [contains] [the specified name]. | |
|
|
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. | |
|
|
Returns an enumerator that iterates through the collection. | |
|
|
Gets the Value Names. | |
|
|
Gets the values. | |
|
|
Parses the specified name. | |
|
|
Removes the first occurrence of a specific object from the ICollection<T>. | |
|
|
Tries to parse the string value of the Enum. | |
|
|
Tries to parse the string value of the Enum. |