Partager via


IQueryable.Provider Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the query provider that is associated with this data source.

Namespace:  System.Linq
Assembly:  System.Core (in System.Core.dll)

Syntax

'Declaration
ReadOnly Property Provider As IQueryProvider
IQueryProvider Provider { get; }

Property Value

Type: System.Linq.IQueryProvider
The IQueryProvider that is associated with this data source.

Remarks

If an instance of IQueryable represents a LINQ query against a data source, the associated query provider is the provider that created the IQueryable instance.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.