OPC Studio User's Guide and Reference
Implicit Type Conversion(DAPropertyDescriptor,DAPropertyIds) Operator



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAPropertyDescriptor Class > Implicit Type Conversion Operator : Implicit Type Conversion(DAPropertyDescriptor,DAPropertyIds) Operator
Contains an enumerated OPC property identifier.
Converts an enumerated property Id to a DAPropertyDescriptor object.
Syntax
'Declaration
 
<NotNullAttribute()>
Overloads Public Operator Widening CType( _
   ByVal propertyIds As DAPropertyIds _
) As DAPropertyDescriptor
'Usage
 
[NotNull()]
public DAPropertyDescriptor operator implicit( 
   DAPropertyIds propertyIds
)
[NotNull()]
public:
operator DAPropertyDescriptor^ ( 
   DAPropertyIds propertyIds
)

Parameters

propertyIds
Contains an enumerated OPC property identifier.

Return Value

Returns a DAPropertyDescriptor converted from the input argument.

This method never returns null (Nothing in Visual Basic).

Remarks

This operator is equivalent to FromDAPropertyIds.

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