Share via


CategoryGroup.Equals Method

Indicates whether this CategoryGroup instance and a specified object are equal.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

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

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

Parameters

  • obj
    Type: System.Object
    The object to compare with the CategoryGroup object.

Return Value

Type: System.Boolean
true if obj and this instance are the same type and represent the same value; otherwise, false.

Remarks

This override returns true only when all the field values of the two CategoryGroup objects are equal.

See Also

Reference

CategoryGroup Structure

CategoryGroup Members

Microsoft.SharePoint.Portal.WebControls Namespace