SPPersistedObject.Equals Method

Determines whether the current persisted object equals the specified object.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online


Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
Dim instance As SPPersistedObject
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj


  • obj
    Type: System.Object

    An object that represents the object with which to compare the current persisted object.

Return Value

Type: System.Boolean
true if the specified objects are equal; otherwise, false.

See Also


SPPersistedObject Class

SPPersistedObject Members

Microsoft.SharePoint.Administration Namespace