SchemaNamedKey<T>.Inequality 運算子
Compares two keys for value inequality.
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Shared Operator <> ( _
leftOperand As SchemaNamedKey(Of T), _
rightOperand As SchemaNamedKey(Of T) _
) As Boolean
'用途
Dim leftOperand As SchemaNamedKey(Of T)
Dim rightOperand As SchemaNamedKey(Of T)
Dim returnValue As Boolean
returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
SchemaNamedKey<T> leftOperand,
SchemaNamedKey<T> rightOperand
)
public:
static bool operator !=(
SchemaNamedKey<T>^ leftOperand,
SchemaNamedKey<T>^ rightOperand
)
static let inline(<>)
leftOperand:SchemaNamedKey<'T> *
rightOperand:SchemaNamedKey<'T> : bool
JScript 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- leftOperand
型別:Microsoft.SqlServer.Management.Sdk.Sfc.SchemaNamedKey<T>
The first key to compare.
- rightOperand
型別:Microsoft.SqlServer.Management.Sdk.Sfc.SchemaNamedKey<T>
The second key to compare.
傳回值
型別:System.Boolean
true if both keys are not equal or only one is nullnull 參考 (在 Visual Basic 中為 Nothing); otherwise, false.