Share via


SPWebCategoryNameAttribute Class

Defines the friendly or localized name of the category of a property in the CustomPropertyToolPart control inside the ToolPane.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.SharePoint.WebPartPages.SPWebCategoryNameAttribute

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property)> _
Public Class SPWebCategoryNameAttribute _
    Inherits Attribute
'Usage
Dim instance As SPWebCategoryNameAttribute
[AttributeUsageAttribute(AttributeTargets.Property)]
public class SPWebCategoryNameAttribute : Attribute

Remarks

This class can be overridden to get a localized value for the CategoryName property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPWebCategoryNameAttribute Members

Microsoft.SharePoint.WebPartPages Namespace