共用方式為


ElementGroup.RootElements Property

The distinguished element of the group (e.g. the root of a tree, head of a list, etc.)

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

Syntax

'宣告
Public ReadOnly Property RootElements As ReadOnlyCollection(Of ModelElement)
    Get
public ReadOnlyCollection<ModelElement> RootElements { get; }
public:
property ReadOnlyCollection<ModelElement^>^ RootElements {
    ReadOnlyCollection<ModelElement^>^ get ();
}
member RootElements : ReadOnlyCollection<ModelElement>
function get RootElements () : ReadOnlyCollection<ModelElement>

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ModelElement>

.NET Framework Security

See Also

Reference

ElementGroup Class

Microsoft.VisualStudio.Modeling Namespace