Metodo NamedComponent.IFormattable.ToString
Formats the value of the current instance using the specified format.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Private Function ToString ( _
format As String, _
formatProvider As IFormatProvider _
) As String Implements IFormattable.ToString
'Utilizzo
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.
Parametri
- format
Tipo: System.String
The format to use.
- formatProvider
Tipo: System.IFormatProvider
The provider to use to format the value.
Valore restituito
Tipo: System.String
The value of the current instance in the specified format.
Implementa
IFormattable.ToString(String, IFormatProvider)