QuickOPC User's Guide and Reference
Format Method (UABrowsePathElementCollectionExtension)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Navigation.Extensions Namespace > UABrowsePathElementCollectionExtension Class : Format Method
The browse path element 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 browse path element collection (a relative path) into a string.
Syntax
'Declaration
 
<ExtensionAttribute()>
<NotNullAttribute()>
Public Shared Function Format( _
   ByVal browsePathElementCollection As UABrowsePathElementCollection, _
   ByVal defaultNamespaceUriString As String _
) As String
'Usage
 
Dim browsePathElementCollection As UABrowsePathElementCollection
Dim defaultNamespaceUriString As String
Dim value As String
 
value = UABrowsePathElementCollectionExtension.Format(browsePathElementCollection, defaultNamespaceUriString)

Parameters

browsePathElementCollection
The browse path element 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 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