QuickOPC User's Guide and Reference
PrimitiveDataType Constructor(String,Type)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > PrimitiveDataType Class > PrimitiveDataType Constructor : PrimitiveDataType Constructor(String,Type)
The short descriptive name of the data type.
The .NET type of values represented by this data type.
Initializes a new instance of the class. Initializes a new instance of the class, with given name and value type.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal valueType As Type _
)
'Usage
 
Dim name As String
Dim valueType As Type
 
Dim instance As New PrimitiveDataType(name, valueType)
public PrimitiveDataType( 
   string name,
   Type valueType
)
public:
PrimitiveDataType( 
   String^ name,
   Type^ valueType
)

Parameters

name
The short descriptive name of the data type.
valueType
The .NET type of values represented by this data type.
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