WebPartGalleryXmlItemBase 成员

表示从 Web 部件 XML 加载WebPart

WebPartGalleryXmlItemBase 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 WebPartGalleryXmlItemBase 初始化与指定的上下文信息的WebPartGalleryXmlItemBase类的新实例。

页首

属性

  名称 说明
公共属性 Category 当在某个派生类中重写,获取在其中显示项目的类别的名称。 (从 WebPartGalleryItem 继承。)
公共属性 Description 获取WebPart项目 Web 部件 XML 文档中包含的说明。 (覆盖 WebPartGalleryItem.Description。)
公共属性 IconUrl 获取引用与项显示的图标的 URL。 (覆盖 WebPartGalleryItem.IconUrl。)
公共属性 Id 当在某个派生类中重写,获取此项的 ID。 (从 WebPartGalleryItem 继承。)
公共属性 IsRecommended 获取一个值,该值指示当前页是否建议的项目。 (覆盖 WebPartGalleryItem.IsRecommended。)
公共属性 IsSafeAgainstScript (从 WebPartGalleryItemBase 继承。)
公共属性 OnClientAdd 获取客户端ECMAScript (JavaScript, JScript)函数名用户单击添加时将调用按钮中添加选定的WebPartAdder控件WebPart。 (从 WebPartGalleryItemBase 继承。)
公共属性 RibbonCommand 一个字符串,包含控件的服务器功能区命令 ID。 (从 WebPartGalleryItemBase 继承。)
公共属性 Source 获取WebPartGallerySource从中检索到此项。 (从 WebPartGalleryItemBase 继承。)
公共属性 Title 获取 Web 部件 XML 文档中包含WebPart项的标题。 (覆盖 WebPartGalleryItem.Title。)
公共属性 V3PickerKey 获取与Windows SharePoint Services 3.0 Web 部件选取器兼容的 Web 部件键。 (从 WebPartGalleryItemBase 继承。)
公共属性 WebPartContent 获取或设置嵌入此WebPart提供内容的 HTML。 (从 WebPartGalleryItemBase 继承。)

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetPreviewHtml 返回此WebPartHTML 预览。 (从 WebPartGalleryItemBase 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 Instantiate 实例化WebPart由该项表示。 (覆盖 WebPartGalleryItemBase.Instantiate()。)
受保护的方法 InstantiateFromXml(String) 实例化一个字符串,包含 XML 与WebPart 。 (从 WebPartGalleryItemBase 继承。)
受保护的方法 InstantiateFromXml(XmlDocument) 实例化与指定XmlDocumentWebPart 。 (从 WebPartGalleryItemBase 继承。)
受保护的方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

另请参阅

引用

WebPartGalleryXmlItemBase 类

Microsoft.SharePoint.WebPartPages 命名空间