'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.
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).