共用方式為


WebPartGalleryItem members

Include protected members
Include inherited members

提供抽象類別表示WebPartAdder中的單一項目。

The WebPartGalleryItem type exposes the following members.

Constructors

  Name Description
Protected method WebPartGalleryItem 初始化WebPartGalleryItem類別的新執行個體。

Top

Properties

  Name Description
Public property Category 當在衍生類別中覆寫時,取得用來顯示項目類別的名稱。
Public property Description 當在衍生類別中覆寫時,取得項目的描述。
Public property IconUrl 當在衍生類別中覆寫時,取得參考要與項目一起顯示的圖示的 URL。
Public property Id 當在衍生類別中覆寫時,取得這個項目的 ID。
Public property IsRecommended 當在衍生類別中覆寫時,取得值,指出是否建議目前頁面的項目。
Public property IsSafeAgainstScript 取得是否 tiem 是安全的參與者將加入至目前的頁面。
Public property OnClientAdd 當在衍生類別中覆寫時,取得来加入選取的WebPart控制使用者在WebPartAdder中的 [新增] 按鈕時所要呼叫的用戶端ECMAScript (JavaScript, JScript)函式名稱。
Public property RibbonCommand 字串,包含控制項的Server ribbon命令 ID。
Public property Source 當在衍生類別中覆寫時,取得WebPartGallerySource從中擷取此項目。
Public property Title 當在衍生類別中覆寫時,取得項目的標題。
Public property V3PickerKey 當在衍生類別中覆寫時,取得與Windows SharePoint Services 3.0網頁組件選擇器相容的網頁組件金鑰。
Public property WebPartContent 當在衍生類別中覆寫時,取得或設定內容提供這個WebPart的內嵌的 HTML。

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetPreviewHtml 當在衍生類別中覆寫時,會傳回WebPart的 「 超文字標記語言 (HTML) 預覽。
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

請參閱

參照

WebPartGalleryItem class

Microsoft.SharePoint.WebPartPages namespace