ToString 方法 (String, IFormatProvider)
Converts the current ReportExpression instance 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
參數
- format
型別:System. . :: . .String
The formatting string.
- provider
型別:System. . :: . .IFormatProvider
Provides parsing information for the formatting string.
傳回值
型別:System. . :: . .String
A string value.