OPC Studio User's Guide and Reference
EnumerationDataType Constructor(Int32)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > EnumerationDataType Class > EnumerationDataType Constructor : EnumerationDataType Constructor(Int32)
How many bits the enumeration value can occupy. Equals to -1 when unknown.
Initializes a new instance of the class with given size in bits.
Syntax
'Declaration
 
Public Function New( _
   ByVal sizeInBits As Integer _
)
'Usage
 
Dim sizeInBits As Integer
 
Dim instance As New EnumerationDataType(sizeInBits)
public EnumerationDataType( 
   int sizeInBits
)
public:
EnumerationDataType( 
   int sizeInBits
)

Parameters

sizeInBits
How many bits the enumeration value can occupy. Equals to -1 when unknown.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also