Share via


SPView.ViewBody Property

Gets or sets the body of the view.

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

Syntax

Public Property ViewBody As String
    Get
    Set

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