IListWebPart.ViewFlags property
SharePoint 2013
Gets or sets the type of content to be displayed by the current Web Part.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: Microsoft.SharePoint.SPViewFlagsA SPViewFlags object that specifies the type of content that the Web Part displays.