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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.ObjectThe 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