共用方式為


SPQuery members

Include protected members
Include inherited members

表示清單檢視中的查詢。

The SPQuery type exposes the following members.

Constructors

  Name Description
Public method SPQuery() 初始化SPQuery類別的新執行個體。
Public method SPQuery(SPView) 使用指定的檢視,以初始化SPQuery類別的新執行個體。

Top

Properties

  Name Description
Public property AutoHyperlink 取得或設定布林值,指定類似查詢所傳回的資料集內的超連結的文字會自動格式設定為超連結。
Public property CalendarDate 取得或設定 SharePoint 網站的行事曆日期。
Public property DatesInUtc 取得或設定布林值,指定查詢是否傳回以國際標準時間 (UTC) 格式的日期。
Public property ExpandRecurrence 取得或設定布林值,指定是否要展開行事曆] 檢視中的循環性事件。
Public property ExpandUserField 取得或設定布林值,指定是否要使用特殊的呈現使用者設定欄位值,讓它們包含了登入名稱、 電子郵件地址、 工作階段初始化通訊協定 (SIP) 位址、 以及時出現的標題,這會導致使用者欄位為 multilookup 欄位的行為。
Public property Folder 取得或設定要從中傳回查詢中的項目在文件庫的資料夾。
Public property IncludeAllUserPermissions 取得或設定布林值,指定是否查詢傳回的安全性資訊,包括存取控制清單,以及領域。
Public property IncludeAttachmentUrls 取得或設定布林值,指定是否要包含已編碼的完整 Url,以;#,每個項目附件的分隔。
Public property IncludeAttachmentVersion 取得或設定布林值,指定是否要包含的唯一的識別項和版本號碼,以;#,每個項目附件的分隔。
Public property IncludeMandatoryColumns 取得或設定布林值,指定是否在查詢中傳回所需的計算欄位的欄位。強制資料行包括,例如owsHiddenVersion、 相依的欄位,以及必要的欄位。
Public property IncludePermissions 取得或設定布林值,指定查詢是否傳回安全性資訊。
Public property IndividualProperties 取得或設定布林值,指定是否要包含在查詢中的屬性。
Public property ItemIdQuery 取得或設定布林值,指定查詢選擇性根據清單項目 id。
Public property Joins 取得或設定 [聯結] 項目區段,包括所有子元素的查詢。
Public property ListItemCollectionPosition 取得或設定用來取得下一個資料列集的分頁檢視的清單中的物件。
Public property MeetingInstanceId 取得或設定指定要在查詢中傳回資訊的會議執行個體的 ID。
Public property Method 取得或設定查詢的外部清單的方法部份的外部 XML。
Public property ProjectedFields 取得或設定的ProjectedFields項目,如此可以在其中的項目和ViewFields項目中參考這些聯結的外部索引清單中的欄位會條列在查詢的 XML。
Public property Query 取得或設定的內部使用 XML 在查詢中。
Public property QueryThrottleMode 取得或設定值,指出套用到查詢的節流模式。
Public property RecurrenceOrderBy 取得或設定布林值,指定是否用來顯示項目與 SharePoint 清單互動的應用程式中的排序順序會保留在瀏覽器中使用的排序順序相同。
Public property RowLimit 取得或設定的每一頁查詢傳回的項目數的限制。
Public property ViewAttributes 取得或設定在查詢中使用的檢視表的屬性。
Public property ViewFields 取得或設定查詢所傳回的檢視欄位。
Public property ViewFieldsOnly 取得或設定值,這個值,指出是否要擷取的ViewFields屬性中指定的欄位。
Public property ViewXml 取得或設定定義檢視表的 XML 結構描述。

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

請參閱

參照

SPQuery class

Microsoft.SharePoint namespace