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: 6.0.328+39e3229
Syntax
C#
public interface IEnumValueCollection<TEnumValue, TValue> : ICollection<TEnumValue>,
IEnumerable<TEnumValue>, IEnumerable
where TEnumValue : class, IEnumValue
where TValue : IConvertible
Type Parameters
TEnumValue |
TValue |
The IEnumValueCollection.TEnumValue, TValue. type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Count |
Gets the number of elements contained in the ICollection.T.. (Inherited from ICollection.TEnumValue..) |
|
IsReadOnly |
Gets a value indicating whether the ICollection.T. is read-only. (Inherited from ICollection.TEnumValue..) |
|
Gets or sets the element at the specified index. |
Methods
|
Name |
Description |
---|---|---|
|
Add |
Adds an item to the ICollection.T.. (Inherited from ICollection.TEnumValue..) |
|
Clear |
Removes all items from the ICollection.T.. (Inherited from ICollection.TEnumValue..) |
|
Contains(T) |
Determines whether the ICollection.T. contains a specific value. (Inherited from ICollection.TEnumValue..) |
|
Determines whether [contains] [the specified name]. | |
|
CopyTo |
Copies the elements of the ICollection.T. to an Array, starting at a particular Array index. (Inherited from ICollection.TEnumValue..) |
|
GetEnumerator |
Returns an enumerator that iterates through the collection. (Inherited from IEnumerable.TEnumValue..) |
|
Gets the Value Names. | |
|
Gets the values. | |
|
Parses the specified name. | |
|
Remove |
Removes the first occurrence of a specific object from the ICollection.T.. (Inherited from ICollection.TEnumValue..) |
|
Tries to parse the string value of the Enum. | |
|
Tries to parse the string value of the Enum. |