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
a
Type: Microsoft.SharePoint.Administration.SPPersistedObjectAn SPPersistedObject object that represents the first object to be compared.
b
Type: Microsoft.SharePoint.Administration.SPPersistedObjectAn SPPersistedObject object that represents the second object to be compared.
Return Value
Type: System.Boolean
true if the two persisted objects are not equal; otherwise, false.