EnumValueCollection Class

Class EnumValueCollection.

Inheritance Hierarchy

System.Object
  TwinCAT.TypeSystem.EnumValueCollection
Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

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

EnumValueCollection Class 1:

Count

Gets the number of elements contained in the ICollection.T..

EnumValueCollection Class 2:

IsReadOnly

Gets a value indicating whether the ICollection.T. is read-only.

EnumValueCollection Class 3:

Item.Int32.

Gets or sets the element at the specified index.

EnumValueCollection Class 4:

Item.String.

Gets or sets the element at the specified index.

Methods

 

Name

Description

EnumValueCollection Class 5:

Add

Adds an item to the ICollection.T..

EnumValueCollection Class 6:

AsReadOnly

Gets as read only.

EnumValueCollection Class 7:

Clear

Removes all items from the ICollection.T..

EnumValueCollection Class 8:

Contains(IEnumValue)

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

EnumValueCollection Class 9:

Contains(Object)

Determines whether [contains] [the specified value].

EnumValueCollection Class 10:

Contains(String)

Determines whether [contains] [the specified name].

EnumValueCollection Class 11:

CopyTo

Copies the entire list.

EnumValueCollection Class 12:

Equals

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

EnumValueCollection Class 13:

Finalize

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

EnumValueCollection Class 14:

GetEnumerator

Returns an enumerator that iterates through the collection.

EnumValueCollection Class 15:

GetHashCode

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

EnumValueCollection Class 16:

GetNames

Gets the names.

EnumValueCollection Class 17:

GetType

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

EnumValueCollection Class 18:

GetValues

Gets the values.

EnumValueCollection Class 19:

IndexOf

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

EnumValueCollection Class 20:

Insert

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

EnumValueCollection Class 21:

MemberwiseClone

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

EnumValueCollection Class 22:

Parse

Parses the specified string to the Enum value.

EnumValueCollection Class 23:

Remove

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

EnumValueCollection Class 24:

RemoveAt

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

EnumValueCollection Class 25:

ToString

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

EnumValueCollection Class 26:

TryGetInfo

Tries the get information.

EnumValueCollection Class 27:

TryParse(String, IConvertible.)

Parse the specified string to the enum value.

EnumValueCollection Class 28:

TryParse(String, IEnumValue.)

Parse the specified string to the enum value.

Reference

TwinCAT.TypeSystem Namespace