IElementDirectory.FindElements Method (DomainClassInfo)
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)
'Declaration
Function FindElements ( _
domainClass As DomainClassInfo _
) As ReadOnlyCollection(Of ModelElement)
ReadOnlyCollection<ModelElement> FindElements(
DomainClassInfo domainClass
)
ReadOnlyCollection<ModelElement^>^ FindElements(
DomainClassInfo^ domainClass
)
abstract FindElements :
domainClass:DomainClassInfo -> ReadOnlyCollection<ModelElement>
function FindElements(
domainClass : DomainClassInfo
) : ReadOnlyCollection<ModelElement>
domainClass
Type: Microsoft.VisualStudio.Modeling.DomainClassInfoThe domain class type.
Type: ReadOnlyCollection<ModelElement>
A read-only collection of the type specified.
An empty list is returned if no elements were found.
- 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.