OPC Studio User's Guide and Reference
Explicit Type Conversion Operator (DAItemPoint)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.Connectivity Namespace > DAItemPoint Class : Explicit Type Conversion Operator
The attribute point to be converted.

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

Converts item point to corresponding item arguments.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Operator Narrowing CType( _
   ByVal itemPoint As DAItemPoint _
) As DAItemArguments
'Usage
 
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public DAItemArguments operator explicit( 
   DAItemPoint itemPoint
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
DAItemArguments^ operator explicit( 
   DAItemPoint^ itemPoint
)

Parameters

itemPoint
The attribute point to be converted.

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

Return Value

The item arguments that correspond to the item point. null if the item point passed in was null.

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

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