IQueryProvider 介面

定義

重要

此 API 不符合 CLS 規範。

支援查詢可篩選欄位及建立篩選節點清單。

public interface class IQueryProvider
[System.CLSCompliant(false)]
public interface IQueryProvider
[<System.CLSCompliant(false)>]
type IQueryProvider = interface
Public Interface IQueryProvider
屬性

屬性

名稱 Description
ViewScope

會得到一個指定視圖狀態範圍的值。

方法

名稱 Description
Build(IList<INavigableItem>, INodeInformation, IFilterProvider)

用濾波器建置樹節點,該濾波器指定節點、來源和濾波器。

Build(IList<INavigableItem>, INodeInformation, INavigableItem, IFilterProvider)

用一個濾波器來建立樹節點,該過濾器指定節點、來源節點、父節點和過濾器。

GetColumns(INodeInformation)

取得一串欄位清單。

GetFilterableColumns(INodeInformation)

取得可篩選的欄位清單。

GetQuery(INodeInformation, IFilterProvider)

取得用於建置樹節點的查詢。

RebuildItem(INavigableItem, Boolean, IUpdateState)

查詢單一物品的屬性。

UpdateItems(IDictionary<String,INavigableItem>, INavigableItemBuildSet, INodeInformation, String[], IUpdateState)

更新現有項目並載入每個項目的請求欄位。

適用於