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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UANodeDescriptor Class > Implicit Type Conversion Operator : Implicit Type Conversion(UANodeDescriptor,UANodeId) Operator
The node Id to be converted.
Converts a OpcLabs.EasyOpc.UA.AddressSpace.UANodeId to a node descriptor.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Overloads Public Operator Widening CType( _
   ByVal nodeId As UANodeId _
) As UANodeDescriptor
'Usage
 
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public UANodeDescriptor operator implicit( 
   UANodeId nodeId
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
operator UANodeDescriptor^ ( 
   UANodeId^ nodeId
)

Parameters

nodeId
The node Id to be converted.

Return Value

For a non-null input, returns the node descriptor with the given node Id. 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