다음을 통해 공유


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

Determines whether two PredCompareInfo.Key objects are not equal.

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

구문

‘선언
Public Shared Operator <> ( _
    leftOperand As PredCompareInfo.Key, _
    rightOperand As PredCompareInfo.Key _
) As Boolean
‘사용 방법
Dim leftOperand As PredCompareInfo.Key 
Dim rightOperand As PredCompareInfo.Key 
Dim returnValue As Boolean 

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

매개 변수

반환 값

유형: 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.

참고 항목

참조

PredCompareInfo.Key 클래스

Inequality 오버로드

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