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



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

Parameters

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