OPC Studio User's Guide and Reference
GetTitle Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Gds.AddressSpace Namespace > UACertificateTypeIds Class : GetTitle Method
The certificate type Id for which the title will be obtained.

Because the OpcLabs.EasyOpc.UA.AddressSpace.UANodeId has an implicit conversion from System.String, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use a string (representing the expanded text of the nodeId) in place of this parameter, and the corresponding OPC UA node Id will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.UA.AddressSpace.UANodeId.UANodeId Constructor(String) constructor instead.

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

The name of the certificate type, if known. null if the certificate type name is not known to the caller.

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

Gets the short text suitable for certificate type selection by the user.
Syntax
'Declaration
 
<JetBrains.Annotations.NotNullAttribute()>
Public Shared Function GetTitle( _
   ByVal certificateTypeId As UANodeId, _
   ByVal name As String _
) As String
'Usage
 
Dim certificateTypeId As UANodeId
Dim name As String
Dim value As String
 
value = UACertificateTypeIds.GetTitle(certificateTypeId, name)
[JetBrains.Annotations.NotNull()]
public static string GetTitle( 
   UANodeId certificateTypeId,
   string name
)
[JetBrains.Annotations.NotNull()]
public:
static String^ GetTitle( 
   UANodeId^ certificateTypeId,
   String^ name
) 

Parameters

certificateTypeId
The certificate type Id for which the title will be obtained.

Because the OpcLabs.EasyOpc.UA.AddressSpace.UANodeId has an implicit conversion from System.String, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use a string (representing the expanded text of the nodeId) in place of this parameter, and the corresponding OPC UA node Id will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.UA.AddressSpace.UANodeId.UANodeId Constructor(String) constructor instead.

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

name
The name of the certificate type, if known. null if the certificate type name is not known to the caller.

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

Return Value

This method never returns null (Nothing in Visual Basic).

Remarks

The title is not necessarily unique. Specifically, it may not include the purpose of the certificate (such as "Application", or "User").

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