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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel.ComTypes Namespace > _OpaqueData Interface > 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
 
<JetBrains.Annotations.NotNullAttribute()>
Overloads Function ToString( _
   ByVal format As String, _
   ByVal formatProvider As IFormatProvider _
) As String
'Usage
 
Dim instance As _OpaqueData
Dim format As String
Dim formatProvider As IFormatProvider
Dim value As String
 
value = instance.ToString(format, formatProvider)
[JetBrains.Annotations.NotNull()]
string ToString( 
   string format,
   IFormatProvider formatProvider
)
[JetBrains.Annotations.NotNull()]
String^ ToString( 
   String^ format,
   IFormatProvider^ 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

Due to overload conflict, the actual name of this method becomes ToString_2.

This member is not compatible with VBScript.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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