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



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc Namespace > ServerElement Class : Implicit Type Conversion Operator
The object to be expressed as a string.
Converts the object into a string usable for identification of the OPC server when passed to other methods. The value returned is the value of the UrlString property.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Operator Widening CType( _
   ByVal serverElement As ServerElement _
) As String
'Usage
 
[CanBeNull()]
public string operator implicit( 
   ServerElement serverElement
)
[CanBeNull()]
public:
operator String^ ( 
   ServerElement^ serverElement
)

Parameters

serverElement
The object to be expressed as a string.

Return Value

Returns the main characteristics of the object expressed as a string.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

ServerElement Class
ServerElement Members