共用方式為


LinkLabel 類別 (2007 系統)

更新:2007 年 11 月

表示可以加入 Microsoft Office Excel 工作表的 Windows Form LinkLabel。

命名空間:  Microsoft.Office.Tools.Excel.Controls
組件:  Microsoft.Office.Tools.Excel.v9.0 (在 Microsoft.Office.Tools.Excel.v9.0.dll 中)

語法

<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class LinkLabel _
    Inherits LinkLabel _
    Implements ISupportInitializeExtendedControl

Dim instance As LinkLabel
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class LinkLabel : LinkLabel, ISupportInitializeExtendedControl

備註

Microsoft.Office.Tools.Excel.Controls.LinkLabel 與 System.Windows.Forms.LinkLabel 不同。Microsoft.Office.Tools.Excel.Controls.LinkLabel 具有其他成員,使得它可以加入 Excel 工作表,並為它提供其他方法和屬性。

請不要使用 New 建構函式 (Constructor) 建立新的 LinkLabel。使用 AddLinkLabel 方法,將新的 LinkLabel 加入至工作表。

繼承階層架構

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.Label
          System.Windows.Forms.LinkLabel
            Microsoft.Office.Tools.Excel.Controls.LinkLabel

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。

請參閱

參考

LinkLabel 成員

Microsoft.Office.Tools.Excel.Controls 命名空間