OPC Studio User's Guide and Reference
Implicit Type Conversion(UAEndpointDescriptor,Uri) Operator



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAEndpointDescriptor Class > Implicit Type Conversion Operator : Implicit Type Conversion(UAEndpointDescriptor,Uri) Operator
The URI to be converted,
Converts a System.Uri to an endpoint descriptor.
Syntax
'Declaration
 
<NotNullAttribute()>
Overloads Public Operator Widening CType( _
   ByVal endpointUri As Uri _
) As UAEndpointDescriptor
'Usage
 
[NotNull()]
public UAEndpointDescriptor operator implicit( 
   Uri endpointUri
)
[NotNull()]
public:
operator UAEndpointDescriptor^ ( 
   Uri^ endpointUri
)

Parameters

endpointUri
The URI to be converted,

Return Value

For a non-null input, returns the endpoint descriptor with the given URI. Returns an endpoint descriptor with an empty URL string 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