Share via


ReportColor.Equality Operator

Tests the equality of two ReportColor objects.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    left As ReportColor, _
    right As ReportColor _
) As Boolean
'Usage
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 supports the use of overloaded operators, but not the declaration of new ones.

Return Value

Type: System.Boolean
A Boolean value.