Udostępnij za pośrednictwem


Operator ReportColor.Equality

Równość dwóch testów ReportColor obiektów.

Przestrzeń nazw:  Microsoft.ReportingServices.RdlObjectModel
Zestaw:  Microsoft.ReportingServices.Designer.Controls (w Microsoft.ReportingServices.Designer.Controls.dll)

Składnia

'Deklaracja
Public Shared Operator = ( _
    left As ReportColor, _
    right As ReportColor _
) As Boolean
'Użycie
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
Język JScript obsługuje używanie przeciążonych operatorów, ale nie obsługuje deklarowania nowych.

Wartość zwracana

Typ: System.Boolean
A wartość logiczna value.