Share via


ModelStore.GetElements Method (ModelElementClass, ModelElementQueryFilter)

Returns elements that share the given metadata object as selected by the given filter.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Function GetElements ( _
    elementClass As ModelElementClass, _
    filter As ModelElementQueryFilter _
) As IList(Of IModelElement)
public IList<IModelElement> GetElements(
    ModelElementClass elementClass,
    ModelElementQueryFilter filter
)
public:
IList<IModelElement^>^ GetElements(
    ModelElementClass^ elementClass, 
    ModelElementQueryFilter filter
)
member GetElements : 
        elementClass:ModelElementClass * 
        filter:ModelElementQueryFilter -> IList<IModelElement> 
public function GetElements(
    elementClass : ModelElementClass, 
    filter : ModelElementQueryFilter
) : IList<IModelElement>

Parameters

Return Value

Type: System.Collections.Generic.IList<IModelElement>
A list of model elements.

.NET Framework Security

See Also

Reference

ModelStore Class

GetElements Overload

Microsoft.Data.Schema.SchemaModel Namespace

ModelElementClass