Méthode NamedComponent.IFormattable.ToString
Formats the value of the current instance using the specified format.
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
- format
Type : System.String
The format to use.
- formatProvider
Type : System.IFormatProvider
The provider to use to format the value.
Valeur de retour
Type : System.String
The value of the current instance in the specified format.
Implémente
IFormattable.ToString(String, IFormatProvider)