MapInfo.Key.Inequality 運算子 (MapInfo.Key, Object)
Determines whether a MapInfo.Key object is not equal to another object.
命名空間: Microsoft.SqlServer.Management.XEvent
組件: Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)
語法
'宣告
Public Shared Operator <> ( _
leftOperand As MapInfo.Key, _
obj As Object _
) As Boolean
'用途
Dim leftOperand As MapInfo.Key
Dim obj As Object
Dim returnValue As Boolean
returnValue = (leftOperand <> obj)
public static bool operator !=(
MapInfo.Key leftOperand,
Object obj
)
public:
static bool operator !=(
MapInfo.Key^ leftOperand,
Object^ obj
)
static let inline(<>)
leftOperand:MapInfo.Key *
obj:Object : bool
JScript 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- leftOperand
型別:Microsoft.SqlServer.Management.XEvent.MapInfo.Key
A MapInfo.Key object.
- obj
型別:System.Object
A System.Object to compare.
傳回值
型別:System.Boolean
A Boolean value that specifies the outcome of performing an inequality operation on two objects. If True , the two objects are not equal; otherwise False.