Export (0) Print
Expand All

List.AddItem method

Creates a new list item in the list.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public ListItem AddItem(
	ListItemCreationInformation parameters


Type: Microsoft.SharePoint.Client.ListItemCreationInformation

Specifies the properties of the new list item.

Return value

Type: Microsoft.SharePoint.Client.ListItem
Returns a ListItem instance representing the creation of a new list item in the list.


Folder for the new list item does not exist or the current user lacks permissions to the folder. Error code: -2130575312. The leafname contains an invalid character. Error code: -2130575245.


ListItemCreationInformation.UnderlyingObjectType is not valid. Error code: -2146233086.


The current user has insufficient permissions. Error code: -2147024891.

© 2015 Microsoft