OPC Studio User's Guide and Reference
ExpandedText Property (UANodeId)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace Namespace > UANodeId Class : ExpandedText Property
Expanded text of the node Id (also contains the namespace URI).
Syntax
'Declaration
 
<XmlIgnoreAttribute()>
Public Property ExpandedText As String
'Usage
 
Dim instance As UANodeId
Dim value As String
 
instance.ExpandedText = value
 
value = instance.ExpandedText
[XmlIgnore()]
public string ExpandedText {get; set;}
[XmlIgnore()]
public:
property String^ ExpandedText {
   String^ get();
   void set (    String^ value);
}

Property Value

The value represents an expanded text of an OPC UA node Id. The property value can be any string, but not all values make sense and will work when an operation using them is attempted. Example of node Id expanded texts are "nsu=http://test.org/UA/Data/;i=10853" or "ns=1;s=SomeNode".

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

The default value of this property is "" (String.Empty).

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.

Remarks

The getter method of this property is pure, i.e. it does not have observable side effects.

OPC UA node Id, represented by the UANodeId class, directly identifies a node in a server's address space.

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

Reference

UANodeId Class
UANodeId Members
OPC UA Node IDs
Namespace indices in OPC UA Node Ids