ClientObjectCollection<T>.Provider 屬性
從用戶端目前執行階段的內容,它實作IQueryProvider介面,可用來查詢資料從伺服器中取得類別執行個體。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight.Runtime (在 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中); Microsoft.SharePoint.Client.Phone.Runtime (在 Microsoft.SharePoint.Client.Phone.Runtime.dll 中) Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中)
語法
'宣告
Public ReadOnly Property Provider As IQueryProvider
Get
'用途
Dim instance As ClientObjectCollection
Dim value As IQueryProvider
value = instance.Provider
public IQueryProvider Provider { get; }
屬性值
類型:System.Linq.IQueryProvider
物件,可用來查詢從伺服器的資料。