共用方式為


ModelStore.GetElementsFrom<TElement> 方法 (String, ModelElementQueryFilter)

命名空間:  Microsoft.Data.Schema.SchemaModel
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
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 不支援泛型型別或方法。

型別參數

  • TElement

參數

傳回值

型別:System.Collections.Generic.IList<TElement>

.NET Framework 安全性

請參閱

參考

ModelStore 類別

GetElementsFrom 多載

Microsoft.Data.Schema.SchemaModel 命名空間