共用方式為


ModelExplorerTreeContainer.RootElements 屬性

在 [模型總管] 中取得根項目。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
Public ReadOnly Property RootElements As IList
public IList RootElements { get; }

屬性值

型別:System.Collections.IList
根項目,在模型總管

備註

根項目是最上層的項目,在模型總管。 其中大部分有子項目指派給他們,而且使用者可以展開的節點。

.NET Framework 安全性

請參閱

參考

ModelExplorerTreeContainer 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間