다음을 통해 공유


Equality 연산자 (CollectionItem.Key, CollectionItem.Key)

Does a boolean equality comparision between the left hand side of the key and the right hand side of the key.

네임스페이스:  Microsoft.SqlServer.Management.Collector
어셈블리:  Microsoft.SqlServer.Management.Collector.dll의 Microsoft.SqlServer.Management.Collector

구문

‘선언
Public Shared Operator = ( _
    lhs As CollectionItem..::..Key, _
    rhs As CollectionItem..::..Key _
) As Boolean
‘사용 방법
Dim lhs As CollectionItem..::..Key
Dim rhs As CollectionItem..::..Key
Dim returnValue As Boolean

returnValue = (lhs = rhs)
public static bool operator ==(
    CollectionItem..::..Key lhs,
    CollectionItem..::..Key rhs
)
public:
static bool operator ==(
    CollectionItem..::..Key^ lhs, 
    CollectionItem..::..Key^ rhs
)
static let inline (=)
        lhs:CollectionItem..::..Key * 
        rhs:CollectionItem..::..Key  : bool
Jscript는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.

매개 변수

반환 값

형식: System. . :: . .Boolean
A Boolean value that returns TRUE when:

  • both sides are not NULL AND lhs is a key AND rhs is a key AND the keys are equal

주의

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.