共用方式為


Explicit 轉換 (ReportExpression to String)

Converts a ReportExpression object to an expression string.

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

語法

'宣告
Public Shared Narrowing Operator CType ( _
    value As ReportExpression _
) As String
'用途
Dim input As ReportExpression
Dim output As String

output = CType(input, String)
public static explicit operator string (
    ReportExpression value
)
static explicit operator String^ (
    ReportExpression value
)
JScript 支援自訂轉換的使用,但不支援新轉換的宣告。

傳回值

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