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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections.Specialized Namespace > StringCollection 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 StringCollection
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).

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