Workbook 類別 (2007 系統)

更新:2007 年 11 月

表示 Microsoft Office Excel 之文件層級 Visual Studio Tools for Office 專案中的活頁簿。 

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

語法

<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class Workbook _
    Inherits EntryPointBindableComponentBase _
    Implements IActivatable, IServiceProviderCallback, IOfficeHostItemEntryPoint, IEntryPoint,  _
    ISupportInitializeControl, ISupportInitialize

Dim instance As Workbook
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class Workbook : EntryPointBindableComponentBase, IActivatable, 
    IServiceProviderCallback, IOfficeHostItemEntryPoint, IEntryPoint, ISupportInitializeControl, ISupportInitialize

備註

Microsoft.Office.Tools.Excel.Workbook 類別是 Excel 之文件層級專案的主項目。如需詳細資訊,請參閱主項目和主控制項概觀Workbook 主項目

繼承階層架構

System.Object
  Microsoft.VisualStudio.Tools.Office.RemoteComponent
    Microsoft.VisualStudio.Tools.Office.EntryPointComponentBase
      Microsoft.VisualStudio.Tools.Office.EntryPointBindableComponentBase
        Microsoft.Office.Tools.Excel.Workbook

執行緒安全

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

請參閱

參考

Workbook 成員

Microsoft.Office.Tools.Excel 命名空間

其他資源

主項目和主控制項概觀

Workbook 主項目