Share via


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)

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