共用方式為


GreaterThan 運算子

Tests if the first size is greater than the second size.

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

語法

'宣告
Public Shared Operator > ( _
    left As ReportSize, _
    right As ReportSize _
) As Boolean
'用途
Dim left As ReportSize
Dim right As ReportSize
Dim returnValue As Boolean

returnValue = (left > right)
public static bool operator >(
    ReportSize left,
    ReportSize right
)
public:
static bool operator >(
    ReportSize left, 
    ReportSize right
)
static let inline (>)
        left:ReportSize * 
        right:ReportSize  : bool
JScript 支援多載運算子的使用,但不支援新運算子的宣告。

傳回值

型別:System. . :: . .Boolean
A Boolean value.