Bagikan melalui


IModelStore.AllInstances<T> Method

All elements in the model store that belong to the specified type T or one of its subtypes.

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

'Declaration
Function AllInstances(Of T As IElement) As IEnumerable(Of T)
IEnumerable<T> AllInstances<T>()
where T : IElement
generic<typename T>
where T : IElement 
IEnumerable<T>^ AllInstances()
abstract AllInstances : unit -> IEnumerable<'T>  when 'T : IElement
JScript does not support generic types or methods.

Type Parameters

  • T
    IElement or one of its subtypes.

Return Value

Type: System.Collections.Generic.IEnumerable<T>

.NET Framework Security

See Also

Reference

IModelStore Interface

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace