SPLinkButton 类

代表超链接有条件地显示基于当前用户的权限。

继承层次结构

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.SPSecurityTrimmedControl
        Microsoft.SharePoint.WebControls.SPLinkButton
          

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

语法

声明
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class SPLinkButton _
    Inherits SPSecurityTrimmedControl _
    Implements IPostBackEventHandler
用法
Dim instance As SPLinkButton
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPLinkButton : SPSecurityTrimmedControl, 
    IPostBackEventHandler

线程安全性

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

另请参阅

引用

SPLinkButton 成员

Microsoft.SharePoint.WebControls 命名空间

继承层次结构

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.SPSecurityTrimmedControl
        Microsoft.SharePoint.WebControls.SPLinkButton
          Microsoft.SharePoint.WebControls.ClusteredSPLinkButton
          Microsoft.SharePoint.WebControls.FormButton
          Microsoft.SharePoint.WebControls.MergeButton
          Microsoft.SharePoint.WebControls.RelinkAllButton
          Microsoft.SharePoint.WebControls.RelinkButton
          Microsoft.SharePoint.WebControls.SPDirectionalHoverLinkButton
          Microsoft.SharePoint.WebControls.SPToolBarButton