Share via


SPClaim.Equals method

Determines whether the specified object is equal to the current claim.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As SPClaim
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override bool Equals(
    Object obj
)

Parameters

  • obj
    Type: System.Object

    The object to compare with the current claim.

Return value

Type: System.Boolean
The Boolean of the comparison. If the specified object is equal to the current claim, returns true; otherwise, false.

See also

Reference

SPClaim class

SPClaim members

Microsoft.SharePoint.Administration.Claims namespace