SPView Members
Include Protected Members
Include Inherited Members
Represents a view of the data that is contained in a list on a SharePoint site.
The SPView type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPView | Initializes a new instance of the SPView class. |
Top
Properties
Name | Description | |
---|---|---|
Aggregations | Gets or sets field references for one or more aggregate, or total, columns used in a view. | |
AggregationsStatus | Gets or sets a string that specifies whether aggregate, or total, columns are used in the view. | |
BaseViewID | Gets the ID of the base view for the view. | |
ContentTypeId | Gets or sets the ID of the content type with which the view is associated so that the view is available only on folders of this content type. | |
DefaultView | Gets or sets a Boolean value that specifies whether the view is the default view. | |
DefaultViewForContentType | Gets or sets a Boolean value that specifies whether the view is the default view for the associated content type. | |
EditorModified | Gets a Boolean value that indicates whether the view was modified in an HTML editor. | |
Formats | Gets or sets definitions for column and row formatting that are used in a datasheet view. | |
GroupByFooter | Gets or sets the definition of the Group By footer that is used in the view. | |
GroupByHeader | Gets or sets the definition of the Group By header used in the view. | |
Hidden | Gets or sets a Boolean value that specifies whether the view is hidden. | |
HtmlSchemaXml | Gets the entire schema for the view. | |
ID | Gets the GUID that identifies the view. | |
ImageUrl | Specifies the URL of an image that serves as an icon of the view. | |
IncludeRootFolder | Gets or sets a Boolean value that specifies whether the root folder is returned in the list view. | |
Level | Gets the level of publication for documents that are displayed in the view. | |
MobileDefaultView | Gets or sets a Boolean value that specifies whether the view is the default view for a mobile device. | |
MobileView | Gets or sets a Boolean value that specifies whether the view applies to a mobile device. | |
ModerationType | Gets the Content Approval type for the view. | |
OpenApplicationExtension | Specifies the type of application to be used to edit the view. | |
OrderedView | Gets a Boolean value that indicates whether users can reorder items through the user interface. | |
Paged | Gets or sets a Boolean value that specifies whether the list supports displaying more items page by page. | |
ParentList | Gets the parent list for the view. | |
PersonalView | Gets a Boolean value that indicates whether the view is personalized. | |
PropertiesXml | Gets properties of the view, including the GUID, the type, the display name, the URL, and the ID of the base view. | |
Query | Gets or sets a string that contains the query for the view. | |
ReadOnlyView | Gets a Boolean value that indicates whether the view is read-only. | |
RecurrenceRowset | Gets a Boolean value that specifies whether the view supports recurrence rowsets. | |
RequiresClientIntegration | Specifies whether this view MUST NOT be displayed to any user who does not possess the UseClientIntegration right. | |
RowLimit | Gets or sets the limit for the number of items that are returned in the view query per page. | |
RowLimitExceeded | Gets or sets alternate rendering when the value set by the RowLimit property is exceeded. | |
SchemaXml | Gets the schema that defines the view. | |
Scope | Gets or sets the recursive scope for the view of a document library. | |
ServerRelativeUrl | Gets the server-relative URL of the view page. | |
StyleID | Gets the ID of the view style for the view. | |
Threaded | Gets a Boolean value that indicates whether the view is threaded. | |
Title | Gets or sets the display name for the view. | |
Toolbar | Gets or sets the toolbar for the view. | |
ToolbarTemplateName | Gets the name of the predefined toolbar template that is used for the view toolbar. | |
ToolbarType | Gets the type of toolbar that is used in the view. | |
Type | Gets the type of the view. | |
Url | Gets the site-relative URL of the page that contains the view. | |
ViewBody | Gets or sets the body of the view. | |
ViewData | Gets or sets the schema definition for additional properties that are associated with the view. | |
ViewEmpty | Gets or sets what is displayed when the query returns no list data for the view. | |
ViewFields | Gets the view fields that are used in the view. | |
ViewFooter | Gets or sets the footer area for the view. | |
ViewHeader | Gets or sets the header area for the view. | |
Views | Gets the parent view collection for the view. |
Top
Methods
Name | Description | |
---|---|---|
ApplyStyle | Applies the specified style to the view. | |
Clone | Creates and returns a duplicate of the view. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetAggregationString | Returns the formula that is implemented in an aggregate, or total, view of a list column. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
RenderAsHtml() | Returns the view in HTML format. | |
RenderAsHtml(Boolean, Boolean, String) | Returns the view in HTML format but allows for rendering within a frameset. | |
ToString | Returns the title of the view. (Overrides Object.ToString().) | |
Update | Updates the database with changes that are made to the view. |
Top