EnumValueT Class
Enum Value
Inheritance Hierarchy
SystemObject
TwinCAT.TypeSystemEnumValueT
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public class EnumValue<T> : IEnumValue
where T : struct, new(), IConvertibleType Parameters
|
T |
Enum base type (byte,sbyte,short,ushort,int,uint,long or ulong) |
The EnumValueT type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the attributes of the IEnumValue | |
|
|
Gets the enumeration base type (sint,byte,short,ushort,int,uint,Int64,UInt64 supported) | |
|
|
Gets the comment on the IEnumValue | |
|
|
Gets the name of the Enum Value | |
|
|
Gets the raw value of the enumeration (as byte array) | |
|
|
Gets the size of the Enum value (in bytes) | |
|
|
Gets the value. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Parse Enum Type string | |
|
|
Returns a String that represents this
instance. | |
|
|
Parse EnumType string |