ListItem methods

The ListItem type exposes the following members.

Methods

  Name Description
Public method BreakRoleInheritance Creates unique role assignments for the securable object. (Inherited from SecurableObject.)
Protected method CheckUninitializedProperty Checks to determine whether the specified value type property of a ClientObject has been initialized. (Inherited from ClientObject.)
Public method CustomFromJson Returns a Boolean value that indicates whether custom code was used to populate an object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public method DeleteObject Deletes the list item.
Public method FromJson Indicates whether custom code was used to populate an object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public method GetChanges
Public method GetHashtags
Public method GetUserEffectivePermissions Gets the effective permissions that a specified user has on the list item.
Public method GetWOPIFrameUrl Gets the full URL to the SharePoint frame page that initiates the SPWOPIAction object with the WOPI application associated with the list item.
Protected method InitNonPropertyFieldFromJson (Overrides ClientObject.InitNonPropertyFieldFromJson(String, JsonReader).)
Protected method InitOnePropertyFromJson (Overrides SecurableObject.InitOnePropertyFromJson(String, JsonReader).)
Public method IsObjectPropertyInstantiated Indicates whether the specified property of the client object is instantiated. (Inherited from ClientObject.)
Public method IsPropertyAvailable Returns a Boolean value that indicates whether the specified scalar property has been retrieved or set. (Inherited from ClientObject.)
Protected method LoadExpandoFields (Overrides ClientObject.LoadExpandoFields().)
Public method MediaServiceUpdate
Public method OverridePolicyTip
Public method ParseAndSetFieldValue Sets the value of the field for the list item based on an implementation specific transformation of the value.
Public method Recycle Moves the list item to the Recycle Bin and returns the identifier of the new Recycle Bin item.
Public method RefreshLoad (Overrides ClientObject.RefreshLoad().)
Protected method RemoveFromParentCollection Removes the current client object from the parent client object collection. (Inherited from ClientObject.)
Public method ResetRoleInheritance When implemented in a derived class, removes local role assignments so that role assignments, for all descendant objects, are re-inherited from the parent object. (Inherited from SecurableObject.)
Public method Retrieve() Retrieves all scalar properties associated with the object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public method Retrieve([]) Retrieves the specified scalar properties associated with the object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public method SetCommentsDisabled
Public method SetComplianceTag
Public method SetComplianceTagWithExplicitMetasUpdate
Public method SetComplianceTagWithHold
Public method SetComplianceTagWithNoHold
Public method SetComplianceTagWithRecord
Public method SystemUpdate
Public method ToString (Inherited from Object.)
Public method Update Commits changed properties of the list item.
Protected method UpdateClientObjectPropertyType Updates the client object property's value to have correct type by using the type information returned from the server. (Inherited from ClientObject.)
Public method UpdateHashtags
Public method UpdateOverwriteVersion
Public method ValidateUpdateListItem

Top

See also

Reference

ListItem class

Microsoft.SharePoint.Client namespace