Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Finds all elements in the directory of a specified type.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Function FindElements(Of T As ModelElement) ( _
includeDescendants As Boolean _
) As ReadOnlyCollection(Of T)
ReadOnlyCollection<T> FindElements<T>(
bool includeDescendants
)
where T : ModelElement
generic<typename T>
where T : ModelElement
ReadOnlyCollection<T>^ FindElements(
bool includeDescendants
)
abstract FindElements :
includeDescendants:bool -> ReadOnlyCollection<'T> when 'T : ModelElement
JScript does not support generic types or methods.
Type Parameters
- T
Type of elements.
Parameters
includeDescendants
Type: Booleantrue to include elements of all domain classes derived from the type of domain class specified; otherwise, false.
Return Value
Type: 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.