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