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



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.ComTypes Namespace > _DAPropertyId Interface : GetName Method
A CLSID of the OPC server for which the property name should be obtained. 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.
Returns a string identifier of the property, for pre-defined properties. An empty string is returned if the property is not known.
Syntax
'Declaration
 
<NotNullAttribute()>
Function GetName( _
   ByVal serverClsidString As String _
) As String
'Usage
 
Dim instance As _DAPropertyId
Dim serverClsidString As String
Dim value As String
 
value = instance.GetName(serverClsidString)
[NotNull()]
string GetName( 
   string serverClsidString
)
[NotNull()]
String^ GetName( 
   String^ serverClsidString
) 

Parameters

serverClsidString
A CLSID of the OPC server for which the property name should be obtained. 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

Returns the property name.
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