Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds all elements in the directory of a specified type.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Function FindElements(Of T As ModelElement) As ReadOnlyCollection(Of T)
'Usage
Dim instance As IElementDirectory
Dim returnValue As ReadOnlyCollection(Of T)
returnValue = instance.FindElements()
ReadOnlyCollection<T> FindElements<T>()
where T : ModelElement
generic<typename T>
where T : ModelElement
ReadOnlyCollection<T>^ FindElements()
JScript does not support generic types or methods.
Type Parameters
- T
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<T>
A read-only collection of the type specified.
Remarks
An empty list is returned if no elements were found.
.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.