OPC Studio User's Guide and Reference
Implicit Type Conversion(DAItemDescriptor,DANodeElement) Operator



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAItemDescriptor Class > Implicit Type Conversion Operator : Implicit Type Conversion(DAItemDescriptor,DANodeElement) Operator
Contains a node element.

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

Converts a OpcLabs.EasyOpc.DataAccess.AddressSpace.DANodeElement to a DANodeDescriptor object.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Overloads Public Operator Widening CType( _
   ByVal nodeElement As DANodeElement _
) As DAItemDescriptor
'Usage
 
[CanBeNull()]
public DAItemDescriptor operator implicit( 
   DANodeElement nodeElement
)
[CanBeNull()]
public:
operator DAItemDescriptor^ ( 
   DANodeElement^ nodeElement
)

Parameters

nodeElement
Contains a node element.

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

Return Value

Returns a DANodeDescriptor converted from the input argument.

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

Remarks

This operator is equivalent to FromDANodeElement.

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