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

ManagedBaseType

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

Name

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

Primitive

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

RawValue

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

Size

Gets the size of the Enum value (in bytes)

Reference

TwinCAT.TypeSystem Namespace