OPC Studio User's Guide and Reference
Implicit Type Conversion Operator (NodeElement)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > NodeElement Class : Implicit Type Conversion Operator
The object to be expressed as a string.

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

Converts the object into a string usable for identification of the node when passed to other methods. The value returned is the value of the NodeId property.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Operator Widening CType( _
   ByVal nodeElement As NodeElement _
) As String
'Usage
 
[CanBeNull()]
public string operator implicit( 
   NodeElement nodeElement
)
[CanBeNull()]
public:
operator String^ ( 
   NodeElement^ nodeElement
)

Parameters

nodeElement
The object to be expressed as a string.

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

Return Value

Returns the main characteristics of the object expressed as a string.

This method can return null (Nothing in Visual Basic).

Remarks

For non-null inputs, this operator is equivalent to NodeId.

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