SPList.GetItems SPList.GetItems SPList.GetItems SPList.GetItems Method

Definition

Overloads

GetItems(SPQuery, String) GetItems(SPQuery, String) GetItems(SPQuery, String) GetItems(SPQuery, String)
GetItems(String[]) GetItems(String[]) GetItems(String[]) GetItems(String[])
GetItems(SPView) GetItems(SPView) GetItems(SPView) GetItems(SPView)
GetItems(SPQuery) GetItems(SPQuery) GetItems(SPQuery) GetItems(SPQuery)

GetItems(SPQuery, String) GetItems(SPQuery, String) GetItems(SPQuery, String) GetItems(SPQuery, String)

public:
 Microsoft::SharePoint::SPListItemCollection ^ GetItems(Microsoft::SharePoint::SPQuery ^ query, System::String ^ viewName);
public Microsoft.SharePoint.SPListItemCollection GetItems (Microsoft.SharePoint.SPQuery query, string viewName);
member this.GetItems : Microsoft.SharePoint.SPQuery * string -> Microsoft.SharePoint.SPListItemCollection
Public Function GetItems (query As SPQuery, viewName As String) As SPListItemCollection

Parameters

Returns

GetItems(String[]) GetItems(String[]) GetItems(String[]) GetItems(String[])

public:
 Microsoft::SharePoint::SPListItemCollection ^ GetItems(... cli::array <System::String ^> ^ fields);
public Microsoft.SharePoint.SPListItemCollection GetItems (params string[] fields);
member this.GetItems : string[] -> Microsoft.SharePoint.SPListItemCollection
Public Function GetItems (ParamArray fields As String()) As SPListItemCollection

Parameters

fields
String[]

Returns

GetItems(SPView) GetItems(SPView) GetItems(SPView) GetItems(SPView)

public:
 Microsoft::SharePoint::SPListItemCollection ^ GetItems(Microsoft::SharePoint::SPView ^ view);
public Microsoft.SharePoint.SPListItemCollection GetItems (Microsoft.SharePoint.SPView view);
member this.GetItems : Microsoft.SharePoint.SPView -> Microsoft.SharePoint.SPListItemCollection
Public Function GetItems (view As SPView) As SPListItemCollection

Parameters

Returns

GetItems(SPQuery) GetItems(SPQuery) GetItems(SPQuery) GetItems(SPQuery)

public:
 Microsoft::SharePoint::SPListItemCollection ^ GetItems(Microsoft::SharePoint::SPQuery ^ query);
[Microsoft.SharePoint.Client.ClientCallable]
public Microsoft.SharePoint.SPListItemCollection GetItems (Microsoft.SharePoint.SPQuery query);
member this.GetItems : Microsoft.SharePoint.SPQuery -> Microsoft.SharePoint.SPListItemCollection
Public Function GetItems (query As SPQuery) As SPListItemCollection

Parameters

Returns

Applies to