This documentation is archived and is not being maintained.

SPView Members

Windows SharePoint Services 3

Represents a view of the data that is contained in a list on a SharePoint site.

The SPView type exposes the following members.

  NameDescription
Public method SPView Initializes a new instance of the SPView class.
Top

  NameDescription
Public property Aggregations Gets or sets field references for one or more aggregate, or total, columns used in a view.
Public property AggregationsStatus Gets or sets a string that specifies whether aggregate, or total, columns are used in the view.
Public property BaseViewID Gets the ID of the base view for the view.
Public property 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.
Public property DefaultView Gets or sets a Boolean value that specifies whether the view is the default view.
Public property DefaultViewForContentType Gets or sets a Boolean value that specifies whether the view is the default view for the associated content type.
Public property EditorModified Gets a Boolean value that indicates whether the view was modified in an HTML editor.
Public property Formats Gets or sets definitions for column and row formatting that are used in a datasheet view.
Public property GroupByFooter Gets or sets the definition of the Group By footer that is used in the view.
Public property GroupByHeader Gets or sets the definition of the Group By header used in the view.
Public property Hidden Gets or sets a Boolean value that specifies whether the view is hidden.
Public property HtmlSchemaXml Gets the entire schema for the view.
Public property ID Gets the GUID that identifies the view.
Public property ImageUrl Specifies the URL of an image that serves as an icon of the view.
Public property IncludeRootFolder Gets or sets a Boolean value that specifies whether the root folder is returned in the list view.
Public property Level Gets the level of publication for documents that are displayed in the view.
Public property MobileDefaultView Gets or sets a Boolean value that specifies whether the view is the default view for a mobile device.
Public property MobileView Gets or sets a Boolean value that specifies whether the view applies to a mobile device.
Public property ModerationType Gets the Content Approval type for the view.
Public property OpenApplicationExtension Specifies the type of application to be used to edit the view.
Public property OrderedView Gets a Boolean value that indicates whether users can reorder items through the user interface.
Public property Paged Gets or sets a Boolean value that specifies whether the list supports displaying more items page by page.
Public property ParentList Gets the parent list for the view.
Public property PersonalView Gets a Boolean value that indicates whether the view is personalized.
Public property PropertiesXml Gets properties of the view, including the GUID, the type, the display name, the URL, and the ID of the base view.
Public property Query Gets or sets a string that contains the query for the view.
Public property ReadOnlyView Gets a Boolean value that indicates whether the view is read-only.
Public property RecurrenceRowset Gets a Boolean value that specifies whether the view supports recurrence rowsets.
Public property RequiresClientIntegration Specifies whether this view MUST NOT be displayed to any user who does not possess the UseClientIntegration right.
Public property RowLimit Gets or sets the limit for the number of items that are returned in the view query per page.
Public property RowLimitExceeded Gets or sets alternate rendering when the value set by the RowLimit property is exceeded.
Public property SchemaXml Gets the schema that defines the view.
Public property Scope Gets or sets the recursive scope for the view of a document library.
Public property ServerRelativeUrl Gets the server-relative URL of the view page.
Public property StyleID Gets the ID of the view style for the view.
Public property Threaded Gets a Boolean value that indicates whether the view is threaded.
Public property Title Gets or sets the display name for the view.
Public property Toolbar Gets or sets the toolbar for the view.
Public property ToolbarTemplateName Gets the name of the predefined toolbar template that is used for the view toolbar.
Public property ToolbarType Gets the type of toolbar that is used in the view.
Public property Type Gets the type of the view.
Public property Url Gets the site-relative URL of the page that contains the view.
Public property ViewBody Gets or sets the body of the view.
Public property ViewData Gets or sets the schema definition for additional properties that are associated with the view.
Public property ViewEmpty Gets or sets what is displayed when the query returns no list data for the view.
Public property ViewFields Gets the view fields that are used in the view.
Public property ViewFooter Gets or sets the footer area for the view.
Public property ViewHeader Gets or sets the header area for the view.
Public property Views Gets the parent view collection for the view.
Top

  NameDescription
Public method ApplyStyle Applies the specified style to the view.
Public method Clone Creates and returns a duplicate of the view.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAggregationString Returns the formula that is implemented in an aggregate, or total, view of a list column.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RenderAsHtml() Returns the view in HTML format.
Public method RenderAsHtml(Boolean, Boolean, String) Returns the view in HTML format but allows for rendering within a frameset.
Public method ToString Returns the title of the view. (Overrides Object.ToString().)
Public method Update Updates the database with changes that are made to the view.
Top
Show: