SPList.AddItem SPList.AddItem SPList.AddItem Method

Definition

Overloads

AddItem() AddItem() AddItem()
AddItem(String, SPFileSystemObjectType) AddItem(String, SPFileSystemObjectType) AddItem(String, SPFileSystemObjectType)
AddItem(String, SPFileSystemObjectType, String) AddItem(String, SPFileSystemObjectType, String) AddItem(String, SPFileSystemObjectType, String)

AddItem() AddItem() AddItem()

public:
 Microsoft::SharePoint::SPListItem ^ AddItem();
public Microsoft.SharePoint.SPListItem AddItem ();
Public Function AddItem () As SPListItem
Returns

AddItem(String, SPFileSystemObjectType) AddItem(String, SPFileSystemObjectType) AddItem(String, SPFileSystemObjectType)

public:
 Microsoft::SharePoint::SPListItem ^ AddItem(System::String ^ folderUrl, Microsoft::SharePoint::SPFileSystemObjectType underlyingObjectType);
public Microsoft.SharePoint.SPListItem AddItem (string folderUrl, Microsoft.SharePoint.SPFileSystemObjectType underlyingObjectType);
Public Function AddItem (folderUrl As String, underlyingObjectType As SPFileSystemObjectType) As SPListItem
Parameters
folderUrl
String String String
Returns

AddItem(String, SPFileSystemObjectType, String) AddItem(String, SPFileSystemObjectType, String) AddItem(String, SPFileSystemObjectType, String)

public:
 Microsoft::SharePoint::SPListItem ^ AddItem(System::String ^ folderUrl, Microsoft::SharePoint::SPFileSystemObjectType underlyingObjectType, System::String ^ leafName);
public Microsoft.SharePoint.SPListItem AddItem (string folderUrl, Microsoft.SharePoint.SPFileSystemObjectType underlyingObjectType, string leafName);
Public Function AddItem (folderUrl As String, underlyingObjectType As SPFileSystemObjectType, leafName As String) As SPListItem
Parameters
folderUrl
String String String
leafName
String String String
Returns

Applies to