SPPersistedObject.Inequality operator
會傳回 Boolean 值,指出兩個指定的持續性的物件是否不相等。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Operator <> ( _
a As SPPersistedObject, _
b As SPPersistedObject _
) As Boolean
'用途
Dim a As SPPersistedObject
Dim b As SPPersistedObject
Dim returnValue As Boolean
returnValue = (a <> b)
public static bool operator !=(
SPPersistedObject a,
SPPersistedObject b
)
參數
a
Type: Microsoft.SharePoint.Administration.SPPersistedObjectSPPersistedObject物件,代表要比較的第一個物件。
b
Type: Microsoft.SharePoint.Administration.SPPersistedObjectSPPersistedObject物件,代表要比較的第二個物件。
傳回值
Type: System.Boolean
true如果兩個保存的物件不相同 ;否則,請false。