OPC Studio User's Guide and Reference
ToString Method (HostElement)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Network Namespace > HostElement Class : ToString Method
Returns string with the machine name.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overrides Function ToString() As String
'Usage
 
Dim instance As HostElement
Dim value As String
 
value = instance.ToString()
[NotNull()]
public override string ToString()
[NotNull()]
public:
String^ ToString(); override 

Return Value

Returns the object contents expressed as readable string.

This method never returns null (Nothing in Visual Basic).

This method can return null (Nothing in Visual Basic).

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