SPWebCategoryNameAttribute Constructor (String)

Initializes a new instance of the SPWebCategoryNameAttribute class with the specified category name.

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

Syntax

'Declaration
Public Sub New ( _
    categoryName As String _
)
'Usage
Dim categoryName As String

Dim instance As New SPWebCategoryNameAttribute(categoryName)
public SPWebCategoryNameAttribute(
    string categoryName
)

Parameters

Remarks

This constructor sets the value of the CategoryName property to the value of the categoryName parameter.

See Also

Reference

SPWebCategoryNameAttribute Class

SPWebCategoryNameAttribute Members

SPWebCategoryNameAttribute Overload

Microsoft.SharePoint.WebPartPages Namespace