다음을 통해 공유


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

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.

See Also

Reference

CategoryGroup Structure

CategoryGroup Members

Microsoft.SharePoint.Portal.WebControls Namespace