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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Navigation.Extensions Namespace > UABrowsePathExtension Class : Format Method
The browse path.
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 into a string.
Syntax
'Declaration
 
<ExtensionAttribute()>
<NotNullAttribute()>
Public Shared Function Format( _
   ByVal browsePath As UABrowsePath, _
   ByVal defaultNamespaceUriString As String _
) As String
'Usage
 
Dim browsePath As UABrowsePath
Dim defaultNamespaceUriString As String
Dim value As String
 
value = UABrowsePathExtension.Format(browsePath, defaultNamespaceUriString)
[Extension()]
[NotNull()]
public static string Format( 
   UABrowsePath browsePath,
   string defaultNamespaceUriString
)
[Extension()]
[NotNull()]
public:
static String^ Format( 
   UABrowsePath^ browsePath,
   String^ defaultNamespaceUriString
) 

Parameters

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