共用方式為


ReportExpression<T> Explicit 轉換 (ReportExpression<T> to String)

Converts the value of a ReportExpression<T> to a string.

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

語法

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

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

參數

傳回值

型別:System.String
A string value of the ReportExpression<T> object.

請參閱

參考

ReportExpression<T> 結構

Explicit 多載

Microsoft.ReportingServices.RdlObjectModel 命名空間