Condividi tramite


Metodo IModelStore.AllInstances<T>

Tutti gli elementi nell'archivio modelli che appartengono al tipo specificato T o uno dei relativi sottotipi.

Spazio dei nomi:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Sintassi

'Dichiarazione
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 non supporta i tipi o i metodi generici.

Parametri di tipo

  • T
    IElement o uno dei relativi sottotipi.

Valore restituito

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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IModelStore Interfaccia

Spazio dei nomi Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml