Export (0) Print
Expand All
Expand Minimize

SPView.ViewData property

Gets or sets the schema definition for additional properties that are associated with the view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

'Declaration
Public Property ViewData As String
	Get
	Set
'Usage
Dim instance As SPView
Dim value As String

value = instance.ViewData

instance.ViewData = value

Property value

Type: System.String
A Collaborative Application Markup Language (CAML) string that contains the definition for additional properties associated with the view, such as follows:
<FieldRef Name="Title" Type="CalendarMonthTitle" />
<FieldRef Name="Title" Type="CalendarWeekTitle" />
<FieldRef Name="Location" Type="CalendarWeekLocation" />
<FieldRef Name="Title" Type="CalendarDayTitle" />
<FieldRef Name="Location" Type="CalendarDayLocation" />

This property corresponds to the ViewData element.

Show:
© 2014 Microsoft