Partilhar via


Operador Equality

Tests the equality of two ReportColor objects.

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

Sintaxe

'Declaração
Public Shared Operator = ( _
    left As ReportColor, _
    right As ReportColor _
) As Boolean
'Uso
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 dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.

Valor de retorno

Tipo: System. . :: . .Boolean
A Boolean value.