Indicates whether the two keys are not equal.
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Shared Operator <> ( _
leftOperand As NamedKey(Of T), _
rightOperand As NamedKey(Of T) _
) As Boolean
用法
Dim leftOperand As NamedKey(Of T)
Dim rightOperand As NamedKey(Of T)
Dim returnValue As Boolean
returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
NamedKey<T> leftOperand,
NamedKey<T> rightOperand
)
public:
static bool operator !=(
NamedKey<T>^ leftOperand,
NamedKey<T>^ rightOperand
)
static let inline(<>)
leftOperand:NamedKey<'T> *
rightOperand:NamedKey<'T> : bool
JScript 支持使用重载的运算符,但不支持声明新重载运算符。
参数
- leftOperand
类型:Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<T>
The first key to compare.
- rightOperand
类型:Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<T>
The second key to compare.
返回值
类型:System.Boolean
True if both keys are not equal or only one is null; otherwise, false.