共用方式為


ResourcesAttribute.Category property

取得或設定識別屬性時CustomPropertyToolPart工具組件顯示的分類的資源 ID。

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property Category As String
    Get
    Set
'用途
Dim instance As ResourcesAttribute
Dim value As String

value = instance.Category

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

Property value

Type: System.String
字串,指定將透過LoadResource方法復原的資源 ID。

備註

如果Category屬性未定義在ResourcesAttribute屬性,屬性的CustomPropertyToolPart中繼資料中。

請參閱

參照

ResourcesAttribute class

ResourcesAttribute members

Microsoft.SharePoint.WebPartPages namespace