EnumValueCollection.T. Methods

The EnumValueCollection.T. generic type exposes the following members.

Methods

 

Name

Description

Add

Adds an item to the ICollection.T..

AsReadOnly

Gets as read only.

Clear

Removes all items from the ICollection.T..

Contains(String)

Determines whether [contains] [the specified name].

Contains(T)

Determines whether [contains] [the specified value].

Contains(EnumValue.T.)

Determines whether the ICollection.T. contains a specific value.

CopyTo

Copies the entire list.

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

GetEnumerator

Returns an enumerator that iterates through the collection.

GetHashCode

Serves as the default hash function. (Inherited from Object.)

GetNames

Gets the names.

GetType

Gets the Type of the current instance. (Inherited from Object.)

GetValues

Gets the values.

IndexOf

Determines the index of a specific item in the IList.T..

Insert

Inserts an item to the IList.T. at the specified index.

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Parse

Parses the specified string to the Enum value.

Remove

Removes the first occurrence of a specific object from the ICollection.T..

RemoveAt

Removes the IList.T. item at the specified index.

ToString

Returns a string that represents the current object. (Inherited from Object.)

TryGetInfo

Tries the get information.

TryParse

Parse the specified string to the enum value.

Reference

EnumValueCollection.T. Class

TwinCAT.TypeSystem Namespace