共用方式為


ElementGroup.RootElements 屬性

群組的可辨別的項目 (例如:根目錄的樹狀目錄、 標頭的清單、 及其它。)

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

語法

'宣告
Public ReadOnly Property RootElements As ReadOnlyCollection(Of ModelElement)
public ReadOnlyCollection<ModelElement> RootElements { get; }

屬性值

型別:System.Collections.ObjectModel.ReadOnlyCollection<ModelElement>

.NET Framework 安全性

請參閱

參考

ElementGroup 類別

Microsoft.VisualStudio.Modeling 命名空間