Share via


Méthode IFormattable.ToString

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Private Function ToString ( _
    format As String, _
    formatProvider As IFormatProvider _
) As String Implements IFormattable.ToString
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.

Paramètres

Valeur de retour

Type : System. . :: . .String

Implémente

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