This documentation is archived and is not being maintained.

SPPersistedObject.Equality Operator

Windows SharePoint Services 3

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

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

public static bool operator ==(
	SPPersistedObject a,
	SPPersistedObject b
)

Parameters

a
Type: Microsoft.SharePoint.Administration.SPPersistedObject
An SPPersistedObject object that represents the first object to be compared.
b
Type: Microsoft.SharePoint.Administration.SPPersistedObject
An SPPersistedObject object that represents the second object to be compared.

Return Value

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