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



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAPropertyId Class > GetName Method : GetName(Guid) 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 Guid.Empty.
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()>
Public Overloads Function GetName( _
   ByVal serverClsid As Guid _
) As String
'Usage
 
Dim instance As DAPropertyId
Dim serverClsid As Guid
Dim value As String
 
value = instance.GetName(serverClsid)
[NotNull()]
public string GetName( 
   Guid serverClsid
)
[NotNull()]
public:
String^ GetName( 
   Guid serverClsid
) 

Parameters

serverClsid
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 Guid.Empty.

Return Value

Returns the property name.
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 Class
DAPropertyId Members
Overload List