SPView.ViewBody Property

Gets or sets the body of the view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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.

See Also

Reference

SPView Class

SPView Members

Microsoft.SharePoint Namespace