Share via


SPList.GetItems Method

Include Protected Members
Include Inherited Members

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