Class ListItemUtilities
Inheritance
System.Object
ListItemUtilities
Namespace: PnP.Framework.Provisioning.ObjectHandlers.Utilities
Assembly: PnP.Framework.dll
Syntax
public static class ListItemUtilities : object
Methods
ParseFieldValue(Web, String, Field)
Declaration
public static FieldUpdateValue ParseFieldValue(Web web, string fieldValue, Field dataField)
Parameters
Web
web
|
System.String
fieldValue
|
Field
dataField
|
Returns
FieldUpdateValue
|
UpdateListItem(ListItem, TokenParser, IDictionary<String, String>, ListItemUtilities.ListItemUpdateType, Boolean)
Declaration
public static void UpdateListItem(ListItem item, TokenParser parser, IDictionary<string, string> valuesToSet, ListItemUtilities.ListItemUpdateType updateType, bool SkipExecuteQuery = false)
Parameters
ListItem
item
|
TokenParser
parser
|
IDictionary<System.String, System.String>
valuesToSet
|
ListItemUtilities.ListItemUpdateType
updateType
|
System.Boolean
SkipExecuteQuery
|
UpdateListItem(Web, ListItem, FieldCollection, IEnumerable<FieldUpdateValue>)
Declaration
public static void UpdateListItem(Web web, ListItem listItem, FieldCollection listFields, IEnumerable<FieldUpdateValue> updateValues)
Parameters
Web
web
|
ListItem
listItem
|
FieldCollection
listFields
|
IEnumerable<FieldUpdateValue>
updateValues
|
UpdateListItem(Web, ListItem, TokenParser, FieldCollection, IDictionary<String, String>)
Declaration
public static void UpdateListItem(Web web, ListItem listitem, TokenParser parser, FieldCollection fields, IDictionary<string, string> fieldValues)
Parameters
Web
web
|
ListItem
listitem
|
TokenParser
parser
|
FieldCollection
fields
|
IDictionary<System.String, System.String>
fieldValues
|