OPC Studio User's Guide and Reference
PrimitiveDataType Constructor(Type)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > PrimitiveDataType Class > PrimitiveDataType Constructor : PrimitiveDataType Constructor(Type)
The .NET type of values represented by this data type.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class, with given value type.
Syntax
'Declaration
 
Public Function New( _
   ByVal valueType As Type _
)
'Usage
 
Dim valueType As Type
 
Dim instance As New PrimitiveDataType(valueType)
public PrimitiveDataType( 
   Type valueType
)
public:
PrimitiveDataType( 
   Type^ valueType
)

Parameters

valueType
The .NET type of values represented by this data type.

The value of this parameter cannot be null (Nothing in Visual Basic).

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