OPC Studio User's Guide and Reference
FromString Method (UANodeDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UANodeDescriptor Class : FromString Method
An node Id expanded text (contains namespace URI, and namespace-relative node Id).
Converts a System.String to a node descriptor.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Shared Function FromString( _
   ByVal nodeIdExpandedText As String _
) As UANodeDescriptor
'Usage
 
Dim nodeIdExpandedText As String
Dim value As UANodeDescriptor
 
value = UANodeDescriptor.FromString(nodeIdExpandedText)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public static UANodeDescriptor FromString( 
   string nodeIdExpandedText
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
static UANodeDescriptor^ FromString( 
   String^ nodeIdExpandedText
) 

Parameters

nodeIdExpandedText
An node Id expanded text (contains namespace URI, and namespace-relative node Id).

Return Value

For a non-null input, returns the node descriptor with the given node Id expanded text. Returns null if the input is null.
Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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