NamedComponent.IFormattable.ToString-Methode
Formats the value of the current instance using the specified format.
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.
Parameter
- format
Typ: System.String
The format to use.
- formatProvider
Typ: System.IFormatProvider
The provider to use to format the value.
Rückgabewert
Typ: System.String
The value of the current instance in the specified format.
Implementiert
IFormattable.ToString(String, IFormatProvider)