SPWebCategoryNameAttribute.Equals Method
Indicates whether this instance is equal to the specified object.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As SPWebCategoryNameAttribute
Dim obj As Object
Dim returnValue As Boolean
returnValue = instance.Equals(obj)
public override bool Equals(
Object obj
)
Parameters
obj
Type: System.ObjectAn object to compare with this instance.
Return Value
Type: System.Boolean
true if this instance is equal to the specified object; otherwise, false.
Remarks
If the specified object is not an instance of the SPWebCategoryNameAttribute class, this method returns false.
This method checks if the CategoryName properties of this instance and the specified object are equal.
See Also
Reference
SPWebCategoryNameAttribute Class