共用方式為


Explicit 轉換 (ReportExpression(T) to String)

Converts the value of a ReportExpression<(Of <(<'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.