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 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- left
型別:Microsoft.ReportingServices.RdlObjectModel. . :: . .ReportColor
A ReportColor object.
- right
型別:Microsoft.ReportingServices.RdlObjectModel. . :: . .ReportColor
A ReportColor object.
傳回值
型別:System. . :: . .Boolean
A Boolean value.