IFormattable.ToString 方法

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Private Function ToString ( _
    format As String, _
    formatProvider As IFormatProvider _
) As String Implements IFormattable.ToString
用法
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 支持使用显式接口实现,但不支持声明新显式接口实现。

参数

返回值

类型:System. . :: . .String

实现

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