다음을 통해 공유


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

Does a boolean inequality 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(Microsoft.SqlServer.Management.Collector.dll)

구문

‘선언
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:

  • one side is NULL OR lhs is a not key OR rhs is not a key AND the keys are not equal

주의

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

참고 항목

참조

CollectionItem.Key 클래스

Inequality 오버로드

Microsoft.SqlServer.Management.Collector 네임스페이스