SPList.GetItems method

Returns a collection of items from the list.

Overload list

  Name Description
Public method GetItems([]) Returns a collection of items from the list but includes only the specified field values.
Public method GetItems(SPQuery) Gets a collection of items from the list based on the specified query.
Public method GetItems(SPView) Returns a collection of items from the list based on the specified view.
Public method GetItems(SPQuery, String) Gets a collection of items from the list based on the specified query and view.

Top

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace