Share via


NamedComponent.IFormattable.ToString Method

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Private Function ToString ( _
    format As String, _
    formatProvider As IFormatProvider _
) As String Implements IFormattable.ToString
'Usage
Dim instance As NamedComponent
Dim format As String
Dim formatProvider As IFormatProvider
Dim returnValue As String

returnValue = CType(instance, IFormattable).ToString(format, _
    formatProvider)
string IFormattable.ToString(
    string format,
    IFormatProvider formatProvider
)
private:
virtual String^ ToString(
    String^ format, 
    IFormatProvider^ formatProvider
) sealed = IFormattable::ToString
private abstract ToString : 
        format:string * 
        formatProvider:IFormatProvider -> string 
private override ToString : 
        format:string * 
        formatProvider:IFormatProvider -> string 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

Type: System.String

Implements

IFormattable.ToString(String, IFormatProvider)