共用方式為


TreeView 建構函式

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

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

語法

'宣告
Public Sub New
public TreeView()

備註

請不要使用 New 建構函式建立新的 TreeView。 使用 AddTreeView() 方法,將新的 TreeView 加入至工作表。 如需詳細資訊,請參閱在執行階段將控制項加入至 Office 文件

.NET Framework 安全性

請參閱

參考

TreeView 類別

TreeView 多載

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