Udostępnij za pośrednictwem


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.

Parameters

Return Value

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

See Also

Reference

ReportColor Structure

Microsoft.ReportingServices.RdlObjectModel Namespace