Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

SPQuery Members

Windows SharePoint Services 3

Represents a query in a list view.

The SPQuery type exposes the following members.

  NameDescription
Public method SPQuery() Initializes a new instance of the SPQuery class.
Public method SPQuery(SPView) Initializes a new instance of the SPQuery class by using the specified view.
Top
  NameDescription
Public property AutoHyperlink Gets or sets a Boolean value that specifies whether text that resembles a hyperlink within the data set returned by the query is automatically formatted as a hyperlink.
Public property CalendarDate Gets or sets the calendar date of the SharePoint site.
Public property DatesInUtc Gets or sets a Boolean value that specifies whether the query returns dates in Coordinated Universal Time (UTC) format.
Public property ExpandRecurrence Gets or sets a Boolean value that specifies whether to expand recurrent events in the calendar view.
Public property ExpandUserField Gets or sets a Boolean value that specifies whether to use special rendering for user field values that makes them include the login name, e-mail address, Session Initiation Protocol (SIP) address, and title, when present, which causes a user field to behave as a multilookup field.
Public property Folder Gets or sets the folder within a document library from which to return items in the query.
Public property IncludeAllUserPermissions Gets or sets a Boolean value that specifies whether the query returns security information, including access control lists and scopes.
Public property IncludeAttachmentUrls Gets or sets a Boolean value that specifies whether to include the encoded full URLs, delimited by ;#, of attachments to each item.
Public property IncludeAttachmentVersion Gets or sets a Boolean value that specifies whether to include the unique identifier and version number, delimited by ;#, of attachments to each item.
Public property IncludeMandatoryColumns Gets or sets a Boolean value that specifies whether fields that are required for calculated fields are returned in the query. Mandatory columns include, for example, owsHiddenVersion, dependent fields, and required fields.
Public property IncludePermissions Gets or sets a Boolean value that specifies whether the query returns security information.
Public property IndividualProperties Gets or sets a Boolean value that specifies whether to include properties in the query.
Public property ItemIdQuery Gets or sets a Boolean value that specifies whether query selectivity is based on list item ID.
Public property ListItemCollectionPosition Gets or sets an object that is used to obtain the next set of rows in a paged view of a list.
Public property MeetingInstanceId Gets or sets the ID that specifies the meeting instance from which to return information in the query.
Public property Query Gets or sets the inner XML used in the query.
Public property RecurrenceOrderBy Gets or sets a Boolean value that specifies whether the sort order used to display items in an application that interacts with a SharePoint list remains the same as the sort order used in the browser.
Public property RowLimit Gets or sets a limit for the number of items returned in the query per page.
Public property ViewAttributes Gets or sets the attributes of the view used in the query.
Public property ViewFields Gets or sets the fields that are returned in the query.
Public property ViewXml Gets or sets the XML schema that defines the view.
Top
  NameDescription
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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.