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



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

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

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

Parameters

writerGroupElement
The writer group 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 writer group descriptor that corresponds to the writer group ID of the writer group 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 ToUAWriterGroupDescriptor.

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