ModelStore.GetElements Method (ModelStore.Identifier, Type, ElementQueryFilter)

Returns a list of the elements in the store.

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

Syntax

'Declaration
Public Function GetElements ( _
    identifier As ModelStore..::..Identifier, _
    elementType As Type, _
    filter As ElementQueryFilter _
) As IList(Of IModelElement)
'Usage
Dim instance As ModelStore
Dim identifier As ModelStore..::..Identifier
Dim elementType As Type
Dim filter As ElementQueryFilter
Dim returnValue As IList(Of IModelElement)

returnValue = instance.GetElements(identifier, _
    elementType, filter)
public IList<IModelElement> GetElements(
    ModelStore..::..Identifier identifier,
    Type elementType,
    ElementQueryFilter filter
)
public:
IList<IModelElement^>^ GetElements(
    ModelStore..::..Identifier^ identifier, 
    Type^ elementType, 
    ElementQueryFilter filter
)
public function GetElements(
    identifier : ModelStore..::..Identifier, 
    elementType : Type, 
    filter : ElementQueryFilter
) : IList<IModelElement>
member GetElements : 
        identifier:ModelStore..::..Identifier * 
        elementType:Type * 
        filter:ElementQueryFilter -> IList<IModelElement> 

Parameters

  • elementType
    Type: System.Type
    Specifies the element type

Return Value

Type: System.Collections.Generic.IList<IModelElement>

.NET Framework Security

See Also

Reference

ModelStore Class

ModelStore Members

GetElements Overload

Microsoft.Data.Schema.SchemaModel Namespace