QuickOPC User's Guide and Reference
Implicit Type Conversion(UANodeDescriptor,UANodeElement) Operator



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

Parameters

nodeElement
The node element to be converted.

Return Value

For a non-null input, returns the node descriptor converted from the give node element. 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