'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)
[Extension()] [NotNull()] public static string Format( IUABrowsePathElement browsePathElement, string defaultNamespaceUriString )
[Extension()] [NotNull()] public: static String^ Format( IUABrowsePathElement^ browsePathElement, String^ defaultNamespaceUriString )
Parameters
- browsePathElement
- The browse path element.
This is typically the OpcLabs.EasyOpc.UA.Navigation.UABrowsePathElement object.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - defaultNamespaceUriString
- The default namespace URI string. When this parameter 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.The value represents an OPC UA namespace URI string. Any string can be passed to this parameter (i.e. will not cause System.ArgumentException), but not all values make sense and will work when an operation using them is attempted.
The value of this parameter can be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).