Partager via


IModelStore.Instances<T> Method

All elements in the model store that have the specified type T, which should not be abstract.

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

Syntax

'Declaration
Function Instances(Of T As IElement) As IEnumerable(Of T)
IEnumerable<T> Instances<T>()
where T : IElement
generic<typename T>
where T : IElement 
IEnumerable<T>^ Instances()
abstract Instances : 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