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

IEnumValueCollection.TEnumValue, TValue. Interface 1:

Count

Gets the number of elements contained in the ICollection.T.. (Inherited from ICollection.TEnumValue..)

IEnumValueCollection.TEnumValue, TValue. Interface 2:

IsReadOnly

Gets a value indicating whether the ICollection.T. is read-only. (Inherited from ICollection.TEnumValue..)

IEnumValueCollection.TEnumValue, TValue. Interface 3:

Item

Gets or sets the element at the specified index.

Methods

 

Name

Description

IEnumValueCollection.TEnumValue, TValue. Interface 4:

Add

Adds an item to the ICollection.T.. (Inherited from ICollection.TEnumValue..)

IEnumValueCollection.TEnumValue, TValue. Interface 5:

Clear

Removes all items from the ICollection.T.. (Inherited from ICollection.TEnumValue..)

IEnumValueCollection.TEnumValue, TValue. Interface 6:

Contains(T)

Determines whether the ICollection.T. contains a specific value. (Inherited from ICollection.TEnumValue..)

IEnumValueCollection.TEnumValue, TValue. Interface 7:

Contains(String)

Determines whether [contains] [the specified name].

IEnumValueCollection.TEnumValue, TValue. Interface 8:

CopyTo

Copies the elements of the ICollection.T. to an Array, starting at a particular Array index. (Inherited from ICollection.TEnumValue..)

IEnumValueCollection.TEnumValue, TValue. Interface 9:

GetEnumerator

Returns an enumerator that iterates through the collection. (Inherited from IEnumerable.TEnumValue..)

IEnumValueCollection.TEnumValue, TValue. Interface 10:

GetNames

Gets the Value Names.

IEnumValueCollection.TEnumValue, TValue. Interface 11:

GetValues

Gets the values.

IEnumValueCollection.TEnumValue, TValue. Interface 12:

Parse

Parses the specified name.

IEnumValueCollection.TEnumValue, TValue. Interface 13:

Remove

Removes the first occurrence of a specific object from the ICollection.T.. (Inherited from ICollection.TEnumValue..)

IEnumValueCollection.TEnumValue, TValue. Interface 14:

TryParse(String, TEnumValue.)

Tries to parse the string value of the Enum.

IEnumValueCollection.TEnumValue, TValue. Interface 15:

TryParse(String, TValue.)

Tries to parse the string value of the Enum.

Reference

TwinCAT.TypeSystem Namespace

System.Collections.Generic.ICollection.T.