ViewFields Element (List)
Last modified: July 15, 2011
Applies to: SharePoint Foundation 2013 | SharePoint Server 2013
Provides an enumeration of the fields in a view through a listing of the FieldRef elements.
The SQL SELECT clause is generated from the collection of FieldRef listings.
ViewFields can include references to fields in a foreign list, if there is a join defined by a Join element.
The following example enumerates the collection of fields used in a view.