OPC Studio User's Guide and Reference
Format Method (UAQualifiedNameExtension)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace.Extensions Namespace > UAQualifiedNameExtension Class : Format Method
The qualified name.
The default namespace URI string. When this parameter is not an empty string, the formatted string will not explicitly include the namespace specifier if the namespace is equal to the default namespace.
Formats the qualified name object into a string.
Syntax
'Declaration
 
<ExtensionAttribute()>
<NotNullAttribute()>
Public Shared Function Format( _
   ByVal qualifiedName As UAQualifiedName, _
   ByVal defaultNamespaceUriString As String _
) As String
'Usage
 
Dim qualifiedName As UAQualifiedName
Dim defaultNamespaceUriString As String
Dim value As String
 
value = UAQualifiedNameExtension.Format(qualifiedName, defaultNamespaceUriString)

Parameters

qualifiedName
The qualified name.
defaultNamespaceUriString
The default namespace URI string. When this parameter is not an empty string, the formatted string will not explicitly include the namespace specifier if the namespace is equal to the default namespace.

Return Value

The formatted qualified name string (expanded text).
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