SPView methods

The SPView type exposes the following members.

  Name Description
Public method AllowsField Returns a Boolean value that indicates whether the specified field can be displayed in the view.
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.)
Public method GetViewXml Returns the view’s schema.
Protected method MemberwiseClone (Inherited from Object.)
Public method Static member OptOutTabularView A static method to update the Web Parts table in the database by switching off the TabularView flag.
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 SetViewXml Sets the schema of the view schema.
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.