Share via


View members

Specifies a list view.

The View type exposes the following members.

Constructors

  Name Description
Public method View Initializes a new instance of the SPView class.

Top

Properties

  Name Description
Public property Aggregations Gets or sets a value that specifies fields and functions that define totals shown in a list view.
Public property AggregationsStatus Gets or sets a value that specifies whether totals are shown in the list view.
Public property BaseViewId Gets a value that specifies the base view identifier of the list view.
Public property ContentTypeId Gets or sets the identifier 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 Context Returns the context that is associated with the client object. (Inherited from ClientObject.)
Public property CustomFormatter
Public property DefaultView Gets or sets a value that specifies whether the list view is the default list view.
Public property DefaultViewForContentType Gets or sets a value that specifies whether the list view is the default list view for the content type specified by ContentTypeId.
Public property EditorModified Gets or sets a value that specifies whether the list view was modified in an editor.
Public property Formats Gets or sets a value that specifies the column and row formatting for the list view.
Public property Hidden Gets or sets a value that specifies whether the list view is hidden.
Public property HtmlSchemaXml Gets a value that specifies the XML document that represents the list view.
Public property Id Gets a value that specifies the view identifier of the list view.
Public property ImageUrl Gets a value that specifies the URI (Uniform Resource Identifier) of the image for the list view.
Public property IncludeRootFolder Gets or sets a value that specifies whether the current folder is displayed in the list view.
Public property JSLink Specifies the JavaScript files used for the view.
Public property ListViewXml
Public property Method Gets or sets a value that specifies the view method for the list view.
Public property MobileDefaultView Gets or sets a value that specifies whether the list view is the default mobile list view.
Public property MobileView Gets or sets a value that specifies whether the list view is a mobile list view.
Public property ModerationType Gets a value that specifies the content approval type for the list view.
Protected property ObjectData Gets the object data for the current client object. (Inherited from ClientObject.)
Public property ObjectVersion Gets a string that indicates the version of the current client object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public property OrderedView Gets a value that specifies whether list items can be reordered in the list view.
Public property Paged Gets or sets a value that specifies whether the list view is a paged view.
Public property PageRenderType
Public property Path Tracks how a client object is created in the ClientRuntimeContext class so that the object can be recreated on the server. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public property PersonalView Gets a value that specifies whether the list view is a personal view.
Public property ReadOnlyView Gets a value that specifies whether the list view is read-only.
Public property RequiresClientIntegration Gets a value that specifies whether the list view requires client integration rights.
Public property RowLimit Gets or sets a value that specifies the maximum number of list items to display in a visual page of the list view.
Public property Scope Gets or sets a value that specifies the scope for the list view.
Public property ServerObjectIsNull Gets the server object and returns null if the server object is null. (Inherited from ClientObject.)
Public property ServerRelativePath
Public property ServerRelativeUrl Gets a value that specifies the server-relative URL of the list view page.
Public property StyleId Gets a value that specifies the identifier of the view style for the list view.
Public property TabularView
Public property Tag Gets or sets data that is associated with the client object. (Inherited from ClientObject.)
Public property Threaded Gets a value that specifies whether the list view is a threaded view.
Public property Title Gets or sets a value that specifies the display name of the list view.
Public property Toolbar Gets or sets a value that specifies the toolbar for the list view.
Public property ToolbarTemplateName Gets a value that specifies the name of the template for the toolbar that is used in the list view.
Public property TypedObject Gets the object with the correct type information returned from the server. (Inherited from ClientObject.)
Public property ViewData Gets or sets a value that specifies the view data for the list view.
Public property ViewFields Gets a value that specifies the collection of fields in the list view.
Public property ViewJoins Gets or sets a value that specifies the joins that are used in the list view.
Public property ViewProjectedFields Gets or sets a value that specifies the projected fields that will be used by the list view.
Public property ViewQuery Gets or sets a value that specifies the query that is used by the list view.
Public property ViewType Gets a value that specifies the type of the list view.
Public property VisualizationInfo

Top

Methods

  Name Description
Protected method CheckUninitializedProperty Checks to determine whether the specified value type property of a ClientObject has been initialized. (Inherited from ClientObject.)
Public method CustomFromJson Returns a Boolean value that indicates whether custom code was used to populate an object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public method DeleteObject Deletes the list view.
Public method FromJson Indicates whether custom code was used to populate an object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Protected method InitNonPropertyFieldFromJson Initializes a non-property field of the client object based on JavaScript Object Notation (JSON) data from the server. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Protected method InitOnePropertyFromJson (Overrides ClientObject.InitOnePropertyFromJson(String, JsonReader).)
Public method IsObjectPropertyInstantiated Indicates whether the specified property of the client object is instantiated. (Inherited from ClientObject.)
Public method IsPropertyAvailable Returns a Boolean value that indicates whether the specified scalar property has been retrieved or set. (Inherited from ClientObject.)
Protected method LoadExpandoFields Initializes the extended properties associated with the client object when overridden in a derived class. (Inherited from ClientObject.)
Public method RefreshLoad Reloads all scalar properties associated with the client object when overridden in a derived class. (Inherited from ClientObject.)
Protected method RemoveFromParentCollection Removes the current client object from the parent client object collection. (Inherited from ClientObject.)
Public method RenderAsHtml Returns the list view as HTML.
Public method Retrieve() Retrieves all scalar properties associated with the object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public method Retrieve([]) Retrieves the specified scalar properties associated with the object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public method ToString (Inherited from Object.)
Public method Update Commits changed properties of the list view.
Protected method UpdateClientObjectPropertyType Updates the client object property's value to have correct type by using the type information returned from the server. (Inherited from ClientObject.)

Top

See also

Reference

View class

Microsoft.SharePoint.Client namespace