QuickOPC User's Guide and Reference
Implicit Type Conversion Operator (UAPubSubConnectionElement)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAPubSubConnectionElement Class : Implicit Type Conversion Operator
The PubSub connection element to be converted.
Converts a UAPubSubConnectionElement to a PubSub connection descriptor.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Operator Widening CType( _
   ByVal pubSubConnectionElement As UAPubSubConnectionElement _
) As UAPubSubConnectionDescriptor
'Usage
 
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public UAPubSubConnectionDescriptor operator implicit( 
   UAPubSubConnectionElement pubSubConnectionElement
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
operator UAPubSubConnectionDescriptor^ ( 
   UAPubSubConnectionElement^ pubSubConnectionElement
)

Parameters

pubSubConnectionElement
The PubSub connection element to be converted.

Return Value

For a non-null input, returns the PubSub connection descriptor that uses the parameters from the PubSub connection element. Returns null if the input is null.
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