共用方式為


ReportColor.Equality 運算子

Tests the equality of two ReportColor objects.

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

語法

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

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

參數

傳回值

型別:System.Boolean
True if the two ReportColor objects are equal; otherwise, false.

請參閱

參考

ReportColor 結構

Microsoft.ReportingServices.RdlObjectModel 命名空間