This documentation is archived and is not being maintained.

SPView.ViewEmpty Property

Windows SharePoint Services 3

Gets or sets what is displayed when the query returns no list data for the view.

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

public string ViewEmpty { get; set; }

Property Value

Type: System.String
A Collaborative Application Markup Language (CAML) string that contains the definition for what is displayed when the view is empty.

For more information about view empty sections, see the ViewEmpty element.