QuickOPC User's Guide and Reference
GetPropertyType Method (_DAPropertyId)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.ComTypes Namespace > _DAPropertyId Interface : GetPropertyType Method
The CLSID of the OPC server on which the property resides. This is used for properties that are server-specific. For standard properties, the method does not use this parameter and it can be passed in as a null reference.
Determines a type of this OPC property.
Syntax
'Declaration
 
<NotNullAttribute()>
Function GetPropertyType( _
   ByVal serverClsidString As String _
) As Type
'Usage
 
Dim instance As _DAPropertyId
Dim serverClsidString As String
Dim value As Type
 
value = instance.GetPropertyType(serverClsidString)
[NotNull()]
Type GetPropertyType( 
   string serverClsidString
)
[NotNull()]
Type^ GetPropertyType( 
   String^ serverClsidString
) 

Parameters

serverClsidString
The CLSID of the OPC server on which the property resides. This is used for properties that are server-specific. For standard properties, the method does not use this parameter and it can be passed in as a null reference.

Return Value

A type of the OPC property. If the property type cannot be determined, the property is assumed to be of System.Object type.
Requirements

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

See Also

Reference

_DAPropertyId Interface
_DAPropertyId Members