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
A Boolean value.