OPC Studio User's Guide and Reference
Implicit Type Conversion Operator (DAPropertyElement)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.AddressSpace Namespace > DAPropertyElement Class : Implicit Type Conversion Operator
The object to be expressed as a string.

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

Converts the object into a string usable for identification of the property. The value returned is the PropertyId integer formatted as a string.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Operator Widening CType( _
   ByVal propertyElement As DAPropertyElement _
) As String
'Usage
 
[CanBeNull()]
public string operator implicit( 
   DAPropertyElement propertyElement
)
[CanBeNull()]
public:
operator String^ ( 
   DAPropertyElement^ propertyElement
)

Parameters

propertyElement
The object to be expressed as a string.

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

Return Value

Returns the main characteristics of the object expressed as a string.

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

Remarks

For non-null inputs, this operator is equivalent to DescriptorString.

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