SPView.ViewBody property
Gets or sets the body of the view.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property ViewBody As String
Get
Set
'Usage
Dim instance As SPView
Dim value As String
value = instance.ViewBody
instance.ViewBody = value
public string ViewBody { get; set; }
Property value
Type: System.String
A Collaborative Application Markup Language (CAML) string that contains the view body definition.
Remarks
For more information about view bodies, see the ViewBody element.