IEnumValue Interface

Generic interface for EnumValues

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

Syntax

C#

public interface IEnumValue

VB

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