共用方式為


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
)

參數

傳回值

Type: System.Boolean
true如果兩個保存的物件不相同 ;否則,請false。

請參閱

參照

SPPersistedObject class

SPPersistedObject members

Microsoft.SharePoint.Administration namespace