DataEventColumnInfo.Key.Equality 運算子 (Object, DataEventColumnInfo.Key)
Implements the operator == used to test equality between an instance of DataEventColumnInfo.Key and another object supplied by the obj parameter.
命名空間: Microsoft.SqlServer.Management.XEvent
組件: Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)
語法
'宣告
Public Shared Operator = ( _
obj As Object, _
rightOperand As DataEventColumnInfo.Key _
) As Boolean
'用途
Dim obj As Object
Dim rightOperand As DataEventColumnInfo.Key
Dim returnValue As Boolean
returnValue = (obj = rightOperand)
public static bool operator ==(
Object obj,
DataEventColumnInfo.Key rightOperand
)
public:
static bool operator ==(
Object^ obj,
DataEventColumnInfo.Key^ rightOperand
)
static let inline(=)
obj:Object *
rightOperand:DataEventColumnInfo.Key : bool
JScript 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- obj
型別:System.Object
An Object.
- rightOperand
型別:Microsoft.SqlServer.Management.XEvent.DataEventColumnInfo.Key
An instance of DataEventColumnInfo.Key.
傳回值
型別:System.Boolean
Returns true if the specified object is equal to the right operand; otherwise, false.