Formats the value of the current instance using the specified format.
Syntax
'Declaration
<NotNullAttribute()>
Public Overloads Function ToString( _
ByVal As String _
) As String
'Usage
Dim instance As UAServiceResult
Dim format As String
Dim value As String
value = instance.ToString(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
Exception | Description |
System.FormatException | 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