EnumValueCollection Class

Class EnumValueCollection.

Inheritance Hierarchy

System.Object
  TwinCAT.TypeSystem.EnumValueCollection
Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public class EnumValueCollection : IList<IEnumValue>, 
    ICollection<IEnumValue>, IEnumerable<IEnumValue>, IEnumerable

VB

Public Class EnumValueCollection
    Implements IList(Of IEnumValue), ICollection(Of IEnumValue), 
    IEnumerable(Of IEnumValue), IEnumerable

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(Object)

Determines whether [contains] [the specified value].

EnumValueCollection Class 9:

Contains(String)

Determines whether [contains] [the specified name].

EnumValueCollection Class 10:

Contains(IEnumValue)

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

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

Parse the specified string to the enum value.

Reference

TwinCAT.TypeSystem Namespace