CheckedListBox 类 (2007 system)

更新:2007 年 11 月

表示可添加到 Microsoft Office Excel 工作表的 Windows 窗体 CheckedListBox。

命名空间:  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 CheckedListBox _
    Inherits CheckedListBox _
    Implements ISupportInitializeExtendedControl
用法
Dim instance As CheckedListBox
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class CheckedListBox : CheckedListBox, 
    ISupportInitializeExtendedControl

备注

Microsoft.Office.Tools.Excel.Controls.CheckedListBox 与 System.Windows.Forms.CheckedListBox 不同。Microsoft.Office.Tools.Excel.Controls.CheckedListBox 有其他一些成员,通过这些成员可将其添加到 Excel 工作表,而且这些成员为其提供了额外的方法和属性。

不要使用 New 构造函数创建新的 CheckedListBox。使用 AddCheckedListBox 方法可将新的 CheckedListBox 添加到工作表中。

继承层次结构

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ListControl
          System.Windows.Forms.ListBox
            System.Windows.Forms.CheckedListBox
              Microsoft.Office.Tools.Excel.Controls.CheckedListBox

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

另请参见

参考

CheckedListBox 成员

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