List methods

The List type exposes the following members.

Methods

  Name Description
Public method AddItem Creates a new list item in the list.
Public method AddItemUsingPath
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 CreateDocument
Public method CreateDocumentAndGetEditLink
Public method CreateDocumentFromTemplate
Public method CreateDocumentFromTemplateBytes
Public method CreateDocumentFromTemplateStream
Public method CreateDocumentFromTemplateUsingPath
Public method CreateDocumentWithDefaultName
Public method CreateMappedView
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.
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 GetBloomFilter
Public method GetBloomFilterWithCustomFields
Public method GetChanges Returns the collection of changes from the change log that have occurred within the list, based on the specified query.
Public method GetItemById(Int32) Returns the list item with the specified list item identifier.
Public method GetItemById(String)
Public method GetItemByUniqueId
Public method GetItems Returns a collection of items from the list based on the specified query.
Public methodStatic member GetListDataAsStream
Public method GetMappedApp
Public method GetMappedApps
Public method GetRelatedFields Returns a collection of lookup fields that use this list as a data source and that have FieldLookup.IsRelationship set to true.
Public method GetSpecialFolderUrl
Public method GetUserEffectivePermissions
Public method GetView Returns the list view with the specified view identifier.
Public method GetWebDavUrl
Protected method InitNonPropertyFieldFromJson Initializes a non-property field of the client object based on JavaScript Object Notation (JSON) data from the server. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
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 Initializes the extended properties associated with the client object when overridden in a derived class. (Inherited from ClientObject.)
Public method PublishMappedView
Public method Recycle Moves the list to the Recycle Bin and returns the identifier of the new Recycle Bin item.
Public method RefreshLoad Reloads all scalar properties associated with the client object when overridden in a derived class. (Inherited from ClientObject.)
Protected method RemoveFromParentCollection Removes the current client object from the parent client object collection. (Inherited from ClientObject.)
Public method RenderExtendedListFormData
Public method RenderListContextMenuData
Public method RenderListData
Public method RenderListDataAsStream
Public method RenderListFilterData
Public method RenderListFormData
Public method ReserveListItemId
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 SaveAsNewView
Public method SaveAsTemplate
Public method SetExemptFromBlockDownloadOfNonViewableFiles
Public method SyncFlowCallbackUrl
Public method SyncFlowInstance
Public method SyncFlowInstances
Public method SyncFlowTemplates
Public method ToString (Inherited from Object.)
Public method UnpublishMappedView
Public method Update Updates the database with changes that are made to the list.
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 ValidateAppName

Top

See also

Reference

List class

Microsoft.SharePoint.Client namespace