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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAServiceResult Class > ToString Method : ToString(String) Method
The format to use.

The value of this parameter can be null (Nothing in Visual Basic).

Formats the value of the current instance using the specified format.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Function ToString( _
   ByVal format As String _
) As String
'Usage
 
Dim instance As UAServiceResult
Dim format As String
Dim value As String
 
value = instance.ToString(format)
[NotNull()]
public string ToString( 
   string format
)
[NotNull()]
public:
String^ ToString( 
   String^ format
) 

Parameters

format
The format to use.

The value of this parameter can be null (Nothing in Visual Basic).

Return Value

The value of the current instance in the specified format.

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

Exceptions
ExceptionDescription
The format of an argument is invalid, or a composite format string is not well-formed.
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