OPC Studio User's Guide and Reference
UABrowsePathParser Constructor(UABrowsePath,String)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Navigation.Parsing Namespace > UABrowsePathParser Class > UABrowsePathParser Constructor : UABrowsePathParser Constructor(UABrowsePath,String)
The base path for relative input paths. A null browse path if none given.

The value of this parameter cannot be null (Nothing in Visual Basic).

The namespace URI to be used with all elements that do not explicitly specify a 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).

Initializes a new instance of the class, specifying the base path, and default namespace URI string.
Syntax
'Declaration
 
Public Function New( _
   ByVal basePath As UABrowsePath, _
   ByVal defaultNamespaceUriString As String _
)
'Usage
 
Dim basePath As UABrowsePath
Dim defaultNamespaceUriString As String
 
Dim instance As New UABrowsePathParser(basePath, defaultNamespaceUriString)
public UABrowsePathParser( 
   UABrowsePath basePath,
   string defaultNamespaceUriString
)
public:
UABrowsePathParser( 
   UABrowsePath^ basePath,
   String^ defaultNamespaceUriString
)

Parameters

basePath
The base path for relative input paths. A null browse path if none given.

The value of this parameter cannot be null (Nothing in Visual Basic).

defaultNamespaceUriString
The namespace URI to be used with all elements that do not explicitly specify a 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).

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