Share via


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

Does a boolean inequality comparision between the object sent as a parameter and the right hand side of the key.

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

구문

‘선언
Public Shared Operator <> ( _
    obj As Object, _
    rhs As CollectionItem.Key _
) As Boolean
‘사용 방법
Dim obj As Object 
Dim rhs As CollectionItem.Key 
Dim returnValue As Boolean 

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

매개 변수

반환 값

유형: System.Boolean

A Boolean value that returns TRUE when:

  • both sides are not NULL

  • both sides are NULL AND lhs is a 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 네임스페이스