SPView Class

Definition

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

public ref class SPView
[Microsoft.SharePoint.Client.ClientCallableType(DeleteMethodClientName="DeleteObject", EntityKeyPropertyNames="ID", FactoryType=typeof(Microsoft.SharePoint.SPObjectFactory), Name="View", ObjectIdentityPropertyName="CanonicalId", ObjectUrlPathPropertyName="Microsoft.SharePoint.SPObjectUrlPath.GetUrlPath", PatchUpdateMethodClientName="Update", PutUpdateMethodClientName="Update", SampleUrl="{apiroot}/web/lists({listid})/Views({viewid})", ServerTypeId="{2399F45D-1784-4965-9A5F-A3415790A0D0}")]
[Microsoft.SharePoint.Client.SubsetCallableType]
public class SPView
type SPView = class
Public Class SPView
Inheritance
SPView
Attributes

Constructors

SPView(SPList, XmlDocument)

Properties

Aggregations
AggregationsStatus
BaseViewID
CalendarSettings
ContentTypeId
CssStyleSheet
DefaultView
DefaultViewForContentType
EditorModified
Formats
GroupByFooter
GroupByHeader
Hidden
HtmlSchemaXml
ID
ImageUrl
IncludeRootFolder
InlineEdit
Joins
JS
JSLink
Level
Method
MobileDefaultView
MobileItemLimit
MobileSimpleViewField
MobileUrl
MobileView
ModerationType
OpenApplicationExtension
OrderedView
Paged
ParameterBindings
ParentList
PersonalView
ProjectedFields
PropertiesXml
Query
ReadOnlyView
RecurrenceRowset
RequiresClientIntegration
RowLimit
RowLimitExceeded
SchemaXml
Scope
ServerRelativeUrl
StyleID
TabularView
Threaded
Title
TitleResource
Toolbar
ToolbarTemplateName
ToolbarType
Type
Url
ViewBody
ViewData
ViewEmpty
ViewFields
ViewFooter
ViewHeader
Views
Xsl
XslLink

Methods

AllowsField(SPField)
ApplyStyle(SPViewStyle)
Clone(String, UInt32, Boolean, Boolean)
GetAggregationString(String)
GetViewXml()
OptOutTabularView(IEnumerable<SPTabularViewUpgradeInfo>)
RenderAsHtml()
RenderAsHtml(Boolean, Boolean, String)
SetViewXml(String)
ToString()
Update()

Applies to