QuickOPC User's Guide and Reference
Parse Method (UAQualifiedName)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace Namespace > UAQualifiedName Class : Parse Method
Expanded text of the qualified name.
The default namespace to be used if no namespace is specified in the input string.
Parses a string containing a qualified name, and returns a corresponding qualified name object.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function Parse( _
   ByVal expandedText As String, _
   ByVal defaultNamespaceUriString As String _
) As UAQualifiedName
'Usage
 
Dim expandedText As String
Dim defaultNamespaceUriString As String
Dim value As UAQualifiedName
 
value = UAQualifiedName.Parse(expandedText, defaultNamespaceUriString)

Parameters

expandedText
Expanded text of the qualified name.
defaultNamespaceUriString
The default namespace to be used if no namespace is specified in the input string.

Return Value

Returns the qualified name object parsed from the input value.
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

The string format of the OPC-UA qualified name is incorrect.
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