SPUserCodeAssemblyGroupId.Equals method

Determines whether this instance of SPUserCodeAssemblyGroupId is equal to the specified object.

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

Syntax

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

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

Parameters

  • otherObject
    Type: System.Object

    The object to compare with the current instance.

Return value

Type: System.Boolean
true if otherObject is an SPUserCodeAssemblyGroupId and the value of its SPUserCodeAssemblyGroupId property is the same as the value of the SPUserCodeAssemblyGroupId property for this instance; otherwise, false.

Remarks

If otherObject is null , this override returns false.

See also

Reference

SPUserCodeAssemblyGroupId class

SPUserCodeAssemblyGroupId members

Microsoft.SharePoint.Administration namespace