共用方式為


Implicit 轉換 (String to ReportExpression)

Converts an expression string to a ReportExpression object.

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

語法

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

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

參數