EnumValueCollection Class
Class EnumValueCollection.
Inheritance Hierarchy
SystemObject
TwinCAT.TypeSystemEnumValueCollection
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public class EnumValueCollection : IList<IEnumValue>,
ICollection<IEnumValue>, IEnumerable<IEnumValue>, IEnumerable,
IEnumValueCollection, IEnumValueCollection<IEnumValue, IConvertible>The EnumValueCollection type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the number of elements contained in the ICollectionT. | |
|
|
Gets a value indicating whether the ICollectionT is read-only. | |
|
|
Gets or sets the element at the specified index. | |
|
|
Gets or sets the element at the specified index. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Adds an item to the ICollectionT. | |
|
|
Gets as read only. | |
|
|
Removes all items from the ICollectionT. | |
|
|
Determines whether the ICollectionT contains a specific value. | |
|
|
Determines whether [contains] [the specified value]. | |
|
|
Determines whether [contains] [the specified name]. | |
|
|
Copies the entire list. | |
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Returns an enumerator that iterates through the collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the names. | |
|
|
Gets the Type of the current
instance. | |
|
|
Gets the values. | |
|
|
Determines the index of a specific item in the IListT. | |
|
|
Inserts an item to the IListT at the specified index. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Parses the specified string to the Enum value. | |
|
|
Removes the first occurrence of a specific object from the ICollectionT. | |
|
|
Removes the IListT item at the specified index. | |
|
|
Returns a string that represents the current object. | |
|
|
Tries the get information. | |
|
|
Parse the specified string to the enum value. | |
|
|
Parse the specified string to the enum value. |
- EnumValueCollection.Count Property
- EnumValueCollection.IsReadOnly Property
- EnumValueCollection.Item Property (Int32)
- EnumValueCollection.Item Property (String)
- EnumValueCollection.Add Method
- EnumValueCollection.AsReadOnly Method
- EnumValueCollection.Clear Method
- EnumValueCollection.Contains Method (Object)
- EnumValueCollection.Contains Method (String)
- EnumValueCollection.Contains Method (IEnumValue)
- EnumValueCollection.CopyTo Method
- EnumValueCollection.GetEnumerator Method
- EnumValueCollection.GetNames Method
- EnumValueCollection.GetValues Method
- EnumValueCollection.IndexOf Method
- EnumValueCollection.Insert Method
- EnumValueCollection.Parse Method
- EnumValueCollection.Remove Method
- EnumValueCollection.RemoveAt Method
- EnumValueCollection.TryGetInfo Method
- EnumValueCollection.TryParse Method (String, IConvertible.)
- EnumValueCollection.TryParse Method (String, IEnumValue.)