Compartilhar via


Método ModelStore.GetElementsFrom<TElement> (String, ModelElementQueryFilter)

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

Sintaxe

'Declaração
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
O JScript não oferece suporte a tipos ou métodos genéricos.

Parâmetros de tipo

  • TElement

Parâmetros

Valor de retorno

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

Segurança do .NET Framework

Consulte também

Referência

ModelStore Classe

Sobrecargas GetElementsFrom

Namespace Microsoft.Data.Schema.SchemaModel