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

Syntax

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

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

Parameters

  • 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

Reference

SPPersistedObject Class

SPPersistedObject Members

Microsoft.SharePoint.Administration Namespace