Share via


SPPersistedObject.Inequality operator

Returns a Boolean value that indicates whether the two specified persisted objects are not equal.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Operator <> ( _
    a As SPPersistedObject, _
    b As SPPersistedObject _
) As Boolean
'Usage
Dim a As SPPersistedObject
Dim b As SPPersistedObject
Dim returnValue As Boolean

returnValue = (a <> b)
public static bool operator !=(
    SPPersistedObject a,
    SPPersistedObject b
)

Parameters

Return value

Type: System.Boolean
true if the two persisted objects are not equal; otherwise, false.

See also

Reference

SPPersistedObject class

SPPersistedObject members

Microsoft.SharePoint.Administration namespace