EnumValue.T. Class
Enum Value
Inheritance Hierarchy
System.Object
TwinCAT.TypeSystem.EnumValue.T.
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public class EnumValue<T> : IEnumValue
where T : IConvertible
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 |
---|---|---|
|
Equals |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode |
Serves as the default hash function. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
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 |