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
- 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.
See Also
Reference
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace