Compartilhar via


Método IFormattable.ToString

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

Sintaxe

'Declaração
Private Function ToString ( _
    format As String, _
    formatProvider As IFormatProvider _
) As String Implements IFormattable.ToString
'Uso
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Parâmetros

Valor de retorno

Tipo: System. . :: . .String

Implementa

IFormattable. . :: . .ToString(String, IFormatProvider)