ModelExplorerTreeContainer.RootElements Property

Gets the root elements in Model Explorer.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Public ReadOnly Property RootElements As IList
'使用
Dim instance As ModelExplorerTreeContainer
Dim value As IList

value = instance.RootElements
public IList RootElements { get; }
public:
property IList^ RootElements {
    IList^ get ();
}
public function get RootElements () : IList

Property Value

Type: System.Collections.IList

The root elements in Model Explorer.

Remarks

Root elements are the top-level elements in Model Explorer. Many of them have child elements assigned to them and are nodes that a user can expand.

Permissions

See Also

Reference

ModelExplorerTreeContainer Class

ModelExplorerTreeContainer Members

Microsoft.VisualStudio.Modeling.Shell Namespace