共用方式為


WebPartGalleryItem.Category property

當在衍生類別中覆寫時,取得用來顯示項目類別的名稱。

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

Syntax

'宣告
Public MustOverride ReadOnly Property Category As String
    Get
'用途
Dim instance As WebPartGalleryItem
Dim value As String

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

Property value

Type: System.String
類別的名稱。

請參閱

參照

WebPartGalleryItem class

WebPartGalleryItem members

Microsoft.SharePoint.WebPartPages namespace