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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > DataFieldCollection 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 DataFieldCollection
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).

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