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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAStatusCode Class > ToString Method : ToString(String,IFormatProvider) Method

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

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

Syntax
'Declaration
 
Public Overloads Function ToString( _
   ByVal format As String, _
   ByVal formatProvider As IFormatProvider _
) As String
'Usage
 
Dim instance As UAStatusCode
Dim format As String
Dim formatProvider As IFormatProvider
Dim value As String
 
value = instance.ToString(format, formatProvider)

Parameters

format

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

formatProvider

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

Return Value

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.
Remarks

This member is not compatible with VBScript.

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