SPChrome 类

提供 Web 部件镶边功能。

继承层次结构

System.Object
  System.Web.UI.WebControls.WebParts.WebPartChrome
    Microsoft.SharePoint.WebPartPages.SPChrome

命名空间:  Microsoft.SharePoint.WebPartPages
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPChrome _
    Inherits WebPartChrome
用法
Dim instance As SPChrome
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPChrome : WebPartChrome

备注

用于 Web 部件的控件呈现的部件版式、 标题、 菜单上,和页脚。

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

SPChrome 成员

Microsoft.SharePoint.WebPartPages 命名空间