共用方式為


ToString 方法 (String, IFormatProvider)

Converts the current ReportExpression<(Of <(<'T>)>)> object to a string.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Public Function ToString ( _
    format As String, _
    provider As IFormatProvider _
) As String
'用途
Dim instance As ReportExpression
Dim format As String
Dim provider As IFormatProvider
Dim returnValue As String

returnValue = instance.ToString(format, _
    provider)
public string ToString(
    string format,
    IFormatProvider provider
)
public:
virtual String^ ToString(
    String^ format, 
    IFormatProvider^ provider
) sealed
abstract ToString : 
        format:string * 
        provider:IFormatProvider -> string 
override ToString : 
        format:string * 
        provider:IFormatProvider -> string 
public final function ToString(
    format : String, 
    provider : IFormatProvider
) : String

參數

傳回值

型別:System. . :: . .String
A string value.

實作

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