IEnumValue Interface

Generic interface for EnumValues

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

Syntax

C#

public interface IEnumValue

The IEnumValue type exposes the following members.

Properties

 

Name

Description

IEnumValue Interface 1:

ManagedBaseType

Gets the enumeration base type (sint,byte,short,ushort,int,uint,Int64,UInt64 supported)

IEnumValue Interface 2:

Name

Gets the name of the Enumeration Value (value as string)

IEnumValue Interface 3:

Primitive

Gets the (Primitive, BaseType) Value of the enumeration as object

IEnumValue Interface 4:

RawValue

Gets the raw value of the enumeration (as byte array)

IEnumValue Interface 5:

Size

Gets the size of the Enum value (in bytes)

Reference

TwinCAT.TypeSystem Namespace