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
- sourceName
Type: System.String
Return Value
Type: System.Collections.Generic.IList<TElement>
.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.