HierarchyId.Inequality 運算子
適用於版本2
指定階層識別碼的值與 Tuple 值是否不同。
命名空間: Microsoft.WebMatrix.Extensibility
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Public Shared Operator <> ( _
a As HierarchyId, _
b As Tuple _
) As Boolean
'用途
Dim a As HierarchyId
Dim b As Tuple
Dim returnValue As Boolean
returnValue = (a <> b)
public static bool operator !=(
HierarchyId a,
Tuple b
)
public:
static bool operator !=(
HierarchyId^ a,
Tuple^ b
)
static let inline(<>)
a:HierarchyId *
b:Tuple : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.
參數
a
型別:Microsoft.WebMatrix.Extensibility.HierarchyId階層識別碼值。
b
型別:System.Tuple<T1, T2>Tuple 值。
傳回值
型別:System.Boolean
如果階層識別碼的值與 Tuple 值不同,為 true,否則為 false。