SPQuery Members
Include Protected Members
Include Inherited Members
Represents a query in a list view.
The SPQuery type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPQuery() | Initializes a new instance of the SPQuery class. | |
SPQuery(SPView) | Initializes a new instance of the SPQuery class by using the specified view. |
Top
Properties
Name | Description | |
---|---|---|
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. | |
CalendarDate | Gets or sets the calendar date of the SharePoint site. | |
DatesInUtc | Gets or sets a Boolean value that specifies whether the query returns dates in Coordinated Universal Time (UTC) format. | |
ExpandRecurrence | Gets or sets a Boolean value that specifies whether to expand recurrent events in the calendar view. | |
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. | |
Folder | Gets or sets the folder within a document library from which to return items in the query. | |
IncludeAllUserPermissions | Gets or sets a Boolean value that specifies whether the query returns security information, including access control lists and scopes. | |
IncludeAttachmentUrls | Gets or sets a Boolean value that specifies whether to include the encoded full URLs, delimited by ;#, of attachments to each item. | |
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. | |
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. | |
IncludePermissions | Gets or sets a Boolean value that specifies whether the query returns security information. | |
IndividualProperties | Gets or sets a Boolean value that specifies whether to include properties in the query. | |
ItemIdQuery | Gets or sets a Boolean value that specifies whether query selectivity is based on list item ID. | |
Joins | Gets or sets the Joins element section of the query including all its child elements. | |
ListItemCollectionPosition | Gets or sets an object that is used to obtain the next set of rows in a paged view of a list. | |
MeetingInstanceId | Gets or sets the ID that specifies the meeting instance from which to return information in the query. | |
Method | Gets or sets the outer XML for the method portion of a query of an external list. | |
ProjectedFields | Gets or sets the ProjectedFields element XML of the query, which itemizes fields from joined foreign lists so that they can be referenced in the Where element and the ViewFields element. | |
Query | Gets or sets the inner XML used in the query. | |
QueryThrottleMode | Gets or sets a value that indicates the throttling mode to be applied to the query. | |
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. | |
RowLimit | Gets or sets a limit for the number of items returned in the query per page. | |
ViewAttributes | Gets or sets the attributes of the view used in the query. | |
ViewFields | Gets or sets the view fields that are returned by the query. | |
ViewFieldsOnly | Gets or sets a value that indicates whether to retrieve only the fields specified in the ViewFields property. | |
ViewXml | Gets or sets the XML schema that defines the view. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top