共用方式為


IdKey.Equality 運算子 (IdKey, Object)

Indicates whether the specified object and the left-hand side of the key are equal.

命名空間:  Microsoft.SqlServer.Management.IntegrationServices
組件:  Microsoft.SqlServer.Management.IntegrationServices (在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)

語法

'宣告
Public Shared Operator = ( _
    leftOperand As IdKey, _
    obj As Object _
) As Boolean
'用途
Dim leftOperand As IdKey 
Dim obj As Object 
Dim returnValue As Boolean 

returnValue = (leftOperand = obj)
public static bool operator ==(
    IdKey leftOperand,
    Object obj
)
public:
static bool operator ==(
    IdKey^ leftOperand, 
    Object^ obj
)
static let inline(=)
        leftOperand:IdKey * 
        obj:Object  : bool
JScript 支援多載運算子的使用,但不支援新運算子的宣告。

參數

傳回值

型別:System.Boolean
true if the specified object and the left-hand side of the key are equal; otherwise, false.

請參閱

參考

IdKey 類別

Equality 多載

Microsoft.SqlServer.Management.IntegrationServices 命名空間