QuickOPC User's Guide and Reference
ToString Method (UAEndpointDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAEndpointDescriptor 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 resource descriptor. Returns a string that represents the current endpoint descriptor.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overrides NotOverridable Function ToString() As String
'Usage
 
Dim instance As UAEndpointDescriptor
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.Returns the unescaped URI string of the resource.Returns the URI string of the server.
Remarks
You should use the returned string with care. Unescaped URI strings are only meant for informational and display purposes. They should not be used to identify the resources; use OpcLabs.BaseLib.ResourceDescriptor.UrlString or OpcLabs.BaseLib.ResourceDescriptor.Url for that.

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

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