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
- elementClass
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
A ModelElementClass metadata object.
- filter
Type: Microsoft.Data.Schema.SchemaModel.ModelElementQueryFilter
A ModelElementQueryFilter object.
Return Value
Type: System.Collections.Generic.IList<IModelElement>
A list of model elements.
.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.