Bagikan melalui


ModelStore.GetElementsFrom<TElement> Method (String, ModelElementQueryFilter)

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

Syntax

'Declaration
Public Function GetElementsFrom(Of TElement As {Class, IModelElement}) ( _
    sourceName As String, _
    filter As ModelElementQueryFilter _
) As IList(Of TElement)
public IList<TElement> GetElementsFrom<TElement>(
    string sourceName,
    ModelElementQueryFilter filter
)
where TElement : class, IModelElement
public:
generic<typename TElement>
where TElement : ref class, IModelElement
IList<TElement>^ GetElementsFrom(
    String^ sourceName, 
    ModelElementQueryFilter filter
)
member GetElementsFrom : 
        sourceName:string * 
        filter:ModelElementQueryFilter -> IList<'TElement>  when 'TElement : not struct and IModelElement
JScript does not support generic types or methods.

Type Parameters

  • TElement

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ModelStore Class

GetElementsFrom Overload

Microsoft.Data.Schema.SchemaModel Namespace