共用方式為


SPListItemCollection.Add Method

Include Protected Members
Include Inherited Members

Creates an item but requires the Update method to actually add the item to the list.

Overload List

  Name Description
Public method Add() Creates an item but requires the SPListItem.Update method to actually add the item to the list.
Public method Add(String, SPFileSystemObjectType) Creates an item that uses the specified folder URL and object type but requires the SPListItem.Update method to actually add the item to the list.
Public method Add(String, SPFileSystemObjectType, String) Creates an item that uses the specified folder URL, object type, and leaf name but requires the SPListItem.Update method to actually add the item to the list.

Top

See Also

Reference

SPListItemCollection Class

SPListItemCollection Members

Microsoft.SharePoint Namespace