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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UADataSetWriterElement Class : Implicit Type Conversion Operator
The dataset writer element to be converted.

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

Converts a UADataSetWriterElement to a dataset writer descriptor.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Operator Widening CType( _
   ByVal dataSetWriterElement As UADataSetWriterElement _
) As UADataSetWriterDescriptor
'Usage
 
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public UADataSetWriterDescriptor operator implicit( 
   UADataSetWriterElement dataSetWriterElement
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
operator UADataSetWriterDescriptor^ ( 
   UADataSetWriterElement^ dataSetWriterElement
)

Parameters

dataSetWriterElement
The dataset writer element to be converted.

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

Return Value

For a non-null input, returns the dataset writer descriptor that corresponds to the dataset writer ID of the dataset writer element. Returns null if the input is null.

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

Remarks

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

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