EnumValueT Constructor
Initializes a new instance of the EnumValueT class.
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public EnumValue(
string name,
T value,
int valueSize,
string? comment,
ITypeAttributeCollection? attributes
)Parameters
|
name String |
The name. |
|
value T |
The value. |
|
valueSize Int32 |
Value size in bytes. |
|
comment String |
The comment. |
|
attributes ITypeAttributeCollection |
The attributes. |