OPC Studio User's Guide and Reference
Implicit Type Conversion(UANodeId,String) Operator



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace Namespace > UANodeId Class > Implicit Type Conversion Operator : Implicit Type Conversion(UANodeId,String) Operator
The string to be converted.
Converts a System.String to a node Id.
Syntax
'Declaration
 
<NotNullAttribute()>
Overloads Public Operator Widening CType( _
   ByVal expandedText As String _
) As UANodeId
'Usage
 
[NotNull()]
public UANodeId operator implicit( 
   string expandedText
)
[NotNull()]
public:
operator UANodeId^ ( 
   String^ expandedText
)

Parameters

expandedText
The string to be converted.

Return Value

For a non-null input, returns the node Id with the given expanded text. Returns a node Id with an empty expanded text 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