Gets a read-only collection of all elements in the directory.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
ReadOnly Property AllElements As ICollection(Of ModelElement)
'使用
Dim instance As IElementDirectory
Dim value As ICollection(Of ModelElement)
value = instance.AllElements
ICollection<ModelElement> AllElements { get; }
property ICollection<ModelElement^>^ AllElements {
ICollection<ModelElement^>^ get ();
}
function get AllElements () : ICollection<ModelElement>
Property Value
Type: System.Collections.Generic.ICollection<ModelElement>
A read-only collection of ModelElement objects.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.