Partilhar via


SPList.AddItem Method

Include Protected Members
Include Inherited Members

Creates a new list item.

Overload List

  Name Description
Public method AddItem() Creates a list item in the root folder of the list.
Public method AddItem(String, SPFileSystemObjectType) Creates a list item of a specified type in the specified folder in the list.
Public method AddItem(String, SPFileSystemObjectType, String) Creates a list item of a specified type with a specified file name in the specified folder in the list.

Top

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace