Partilhar 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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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