Share via


SPView.ViewEmpty property

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)

Syntax

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

value = instance.ViewEmpty

instance.ViewEmpty = value
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.

Remarks

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

See also

Reference

SPView class

SPView members

Microsoft.SharePoint namespace