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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UADiscoveryElement Class : ToString Method
Returns a string that represents the current object.Returns a string that represents the current object.Returns a string that represents the current object.Returns a string that represents the current object.Converts the object into a string usable for identification of the OPC UA server when passed to other methods. The value returned uses the UAApplicationElement.DiscoveryUriString property.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overrides NotOverridable Function ToString() As String
'Usage
 
Dim instance As UADiscoveryElement
Dim value As String
 
value = instance.ToString()
[NotNull()]
public override string ToString()
[NotNull()]
public:
String^ ToString(); override 

Return Value

A string that represents the current object.A string that represents the current object.A string that represents the current object.A string that represents the current object.Returns the object contents expressed as readable string.
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