IEnumValue Interface

Generic interface for EnumValues


Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public interface IEnumValue

The IEnumValue type exposes the following members.

Properties

 

Name

Description

IEnumValue Interface 1:

Attributes

Gets the attributes of the IEnumValue

IEnumValue Interface 2:

BaseType

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

IEnumValue Interface 3:

Comment

Gets the comment on the IEnumValue

IEnumValue Interface 4:

Name

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

IEnumValue Interface 5:

RawValue

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

IEnumValue Interface 6:

Size

Gets the size of the Enum value (in bytes)

IEnumValue Interface 7:

Value

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

Reference

TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026