Share via


NamedDomainKey<T>.Inequality Operator

Returns whether the two keys are not equal.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Shared Operator <> ( _
    leftOperand As NamedDomainKey(Of T), _
    rightOperand As NamedDomainKey(Of T) _
) As Boolean
'Usage
Dim leftOperand As NamedDomainKey(Of T)
Dim rightOperand As NamedDomainKey(Of T)
Dim returnValue As Boolean 

returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
    NamedDomainKey<T> leftOperand,
    NamedDomainKey<T> rightOperand
)
public:
static bool operator !=(
    NamedDomainKey<T>^ leftOperand, 
    NamedDomainKey<T>^ rightOperand
)
static let inline(<>)
        leftOperand:NamedDomainKey<'T> * 
        rightOperand:NamedDomainKey<'T>  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
True if the two keys are not equal; otherwise, false.

See Also

Reference

NamedDomainKey<T> Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace