다음을 통해 공유


CheckBox 클래스(2007 시스템)

업데이트: 2007년 11월

Microsoft Office Excel 워크시트에 추가할 수 있는 Windows Forms 확인란을 나타냅니다.

네임스페이스:  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 CheckBox _
    Inherits CheckBox _
    Implements ISupportInitializeExtendedControl

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

설명

Microsoft.Office.Tools.Excel.Controls.CheckBox는 System.Windows.Forms.CheckBox와 다릅니다. Microsoft.Office.Tools.Excel.Controls.CheckBox는 추가 멤버를 통해 Excel 워크시트에 추가되어 메서드와 속성을 가질 수 있습니다.

New 생성자를 사용하여 새 CheckBox를 만들지 마십시오. AddCheckBox 메서드를 사용하여 새 CheckBox를 워크시트에 추가합니다.

상속 계층 구조

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ButtonBase
          System.Windows.Forms.CheckBox
            Microsoft.Office.Tools.Excel.Controls.CheckBox

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

CheckBox 멤버

Microsoft.Office.Tools.Excel.Controls 네임스페이스