共用方式為


IElementDirectory.AllElements Property

Gets a read-only collection of all elements in the directory.

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

Syntax

'宣告
ReadOnly Property AllElements As ICollection(Of ModelElement)
    Get
ICollection<ModelElement> AllElements { get; }
property ICollection<ModelElement^>^ AllElements {
    ICollection<ModelElement^>^ get ();
}
abstract AllElements : ICollection<ModelElement>
function get AllElements () : ICollection<ModelElement>

Property Value

Type: System.Collections.Generic.ICollection<ModelElement>
A read-only collection of ModelElement objects.

.NET Framework Security

See Also

Reference

IElementDirectory Interface

Microsoft.VisualStudio.Modeling Namespace