CategoryGroup.Equality Operator
Determines whether two specified CategoryGroup objects are equal.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Shared Operator = ( _
p1 As CategoryGroup, _
p2 As CategoryGroup _
) As Boolean
'Usage
Dim p1 As CategoryGroup
Dim p2 As CategoryGroup
Dim returnValue As Boolean
returnValue = (p1 = p2)
public static bool operator ==(
CategoryGroup p1,
CategoryGroup p2
)
Parameters
- p1
Type: Microsoft.SharePoint.Portal.WebControls.CategoryGroup
The first CategoryGroup object to be compared.
- p2
Type: Microsoft.SharePoint.Portal.WebControls.CategoryGroup
The second CategoryGroup object to be compared.
Return Value
Type: System.Boolean
true if the two specified CategoryGroup objects are equal; otherwise, false.
Remarks
This method returns true only when all the field values of the two CategoryGroup objects are equal.