EnumValueCollection.T..AddValue Method

Adds the value.

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

Syntax

C#

public EnumValueCollection<T> AddValue(
    string name,
    T value
)

Parameters

name

Type: System.String
The name.

value

Type: T
The value.

Return Value

Type: EnumValueCollection.T.
EnumValueCollection<T>.

Reference

EnumValueCollection.T. Class

TwinCAT.TypeSystem Namespace