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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UAApplicationElement Class : Implicit Type Conversion Operator
The application element to be converted.
Converts a UAApplicationElement to an endpoint descriptor.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Operator Widening CType( _
   ByVal applicationElement As UAApplicationElement _
) As UAEndpointDescriptor
'Usage
 
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public UAEndpointDescriptor operator implicit( 
   UAApplicationElement applicationElement
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
operator UAEndpointDescriptor^ ( 
   UAApplicationElement^ applicationElement
)

Parameters

applicationElement
The application element to be converted.

Return Value

For a non-null input, returns the endpoint descriptor that corresponds to the discovery URL of the application element. Returns null if the input is null.
Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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