QuickOPC User's Guide and Reference
Format(UAQualifiedNameCollection,String) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace.Extensions Namespace > UAQualifiedNameCollectionExtension Class > Format Method : Format(UAQualifiedNameCollection,String) Method
The qualified name collection.
The default namespace URI string. When this parameters is not a null reference, the formatted string will not explicitly include the namespace specifier with the target name if it is equal to the default namespace.
Formats the qualified name collection (a simple relative path) into a string.
Syntax
'Declaration
 
<ExtensionAttribute()>
<NotNullAttribute()>
Public Overloads Shared Function Format( _
   ByVal qualifiedNameCollection As UAQualifiedNameCollection, _
   ByVal defaultNamespaceUriString As String _
) As String
'Usage
 
Dim qualifiedNameCollection As UAQualifiedNameCollection
Dim defaultNamespaceUriString As String
Dim value As String
 
value = UAQualifiedNameCollectionExtension.Format(qualifiedNameCollection, defaultNamespaceUriString)

Parameters

qualifiedNameCollection
The qualified name collection.
defaultNamespaceUriString
The default namespace URI string. When this parameters is not a null reference, the formatted string will not explicitly include the namespace specifier with the target name if it is equal to the default namespace.

Return Value

The formatted simple relative path string.
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