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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。