共用方式為


WebPartGalleryItemBase members

Include protected members
Include inherited members

提供抽象類別的WebPartGalleryItem類別的基底實作。

The WebPartGalleryItemBase type exposes the following members.

Constructors

  Name Description
Protected method WebPartGalleryItemBase 初始化具有指定之內容資訊之WebPartGalleryItemBase類別的新執行個體。

Top

Properties

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

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 傳回此WebPartHTML 預覽。 (Overrides WebPartGalleryItem.GetPreviewHtml().)
Public method GetType (Inherited from Object.)
Public method Instantiate 當在衍生類別中覆寫時,具現化這個項目所表示的WebPart
Protected method InstantiateFromXml(String) 具現化的字串,包含 XML 的WebPart
Protected method InstantiateFromXml(XmlDocument) 使用指定的XmlDocumentWebPart會具現化。
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

請參閱

參照

WebPartGalleryItemBase class

Microsoft.SharePoint.WebPartPages namespace