다음을 통해 공유


ResourcesAttribute.Category Property

Gets or sets the resource ID that identifies the category of a property when displayed in the CustomPropertyToolPart tool part.

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

Syntax

'Declaration
Public Property Category As String
    Get
    Set
'Usage
Dim instance As ResourcesAttribute
Dim value As String

value = instance.Category

instance.Category = value
public string Category { get; set; }

Property Value

Type: System.String
A string that specifies a resource ID that will be recovered through the LoadResource method.

Remarks

If the Category property is not defined in the ResourcesAttribute attribute, the CustomPropertyToolPart metadata for the property.

See Also

Reference

ResourcesAttribute Class

ResourcesAttribute Members

Microsoft.SharePoint.WebPartPages Namespace