| SharePointListAdd Method (String, DictionaryString, Object) |
Adds a list item to the list.
Namespace:
Galactic.SharePoint
Assembly:
Galactic.SharePoint (in Galactic.SharePoint.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public SharePointListItem Add(
string name,
Dictionary<string, Object> fields
)
Public Function Add (
name As String,
fields As Dictionary(Of String, Object)
) As SharePointListItem
public:
SharePointListItem^ Add(
String^ name,
Dictionary<String^, Object^>^ fields
)
member Add :
name : string *
fields : Dictionary<string, Object> -> SharePointListItem
Parameters
- name
- Type: SystemString
The name of the item to add. - fields
- Type: System.Collections.GenericDictionaryString, Object
A dictionary of names and values of the fields of the list item.
Return Value
Type:
SharePointListItemThe SharePointList item that was added to the list, or null if there was an error adding it.
See Also