Lists Members

Include Protected Members
Include Inherited Members

Provides methods for working with lists and list data.

The Lists type exposes the following members.


  Name Description
Public method Lists Initializes a new instance of the Lists class.



  Name Description
Public property AllowAutoRedirect (Inherited from HttpWebClientProtocol.)
Protected property CanRaiseEvents (Inherited from Component.)
Public property ClientCertificates (Inherited from HttpWebClientProtocol.)
Public property ConnectionGroupName (Inherited from WebClientProtocol.)
Public property Container (Inherited from Component.)
Public property CookieContainer (Inherited from HttpWebClientProtocol.)
Public property Credentials (Inherited from WebClientProtocol.)
Protected property DesignMode (Inherited from Component.)
Public property EnableDecompression (Inherited from HttpWebClientProtocol.)
Protected property Events (Inherited from Component.)
Public property PreAuthenticate (Inherited from WebClientProtocol.)
Public property Proxy (Inherited from HttpWebClientProtocol.)
Public property RequestEncoding (Inherited from WebClientProtocol.)
Public property Site (Inherited from Component.)
Public property SoapVersion (Inherited from SoapHttpClientProtocol.)
Public property Timeout (Inherited from WebClientProtocol.)
Public property UnsafeAuthenticatedConnectionSharing (Inherited from HttpWebClientProtocol.)
Public property Url (Inherited from WebClientProtocol.)
Public property UseDefaultCredentials (Inherited from WebClientProtocol.)
Public property UserAgent (Inherited from HttpWebClientProtocol.)



  Name Description
Public method Abort (Inherited from WebClientProtocol.)
Public method AddAttachment Adds an attachment to the specified list item in the specified list.
Public method AddDiscussionBoardItem Adds an item to the specified discussion board on the current Web site.
Public method AddList Creates a list in the current site based on the specified name, description, and list template ID.
Public method AddListFromFeature Creates a list in the current site based on the specified name, description, Feature ID, and list template ID.
Public method AddWikiPage
Public method ApplyContentTypeToList Adds the specified site content type to a list, as a list content type.
Protected method BeginInvoke (Inherited from SoapHttpClientProtocol.)
Protected method CancelAsync (Inherited from HttpWebClientProtocol.)
Public method CheckInFile Allows documents to be checked in to a SharePoint document library remotely.
Public method CheckOutFile Allows documents in a SharePoint document library to be checked out remotely.
Public method CreateContentType Creates a list content type on the list.
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method DeleteAttachment Removes the attachment from the specified list item.
Public method DeleteContentType Removes the specified list content type from the designated list.
Public method DeleteContentTypeXmlDocument
Public method DeleteList Deletes the specified list.
Public method Discover (Inherited from SoapHttpClientProtocol.)
Public method Dispose() (Inherited from Component.)
Protected method Dispose(Boolean) (Inherited from Component.)
Protected method EndInvoke (Inherited from SoapHttpClientProtocol.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Component.)
Public method GetAttachmentCollection Returns a list of the URLs for attachments to the specified item.
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetList Returns a schema for the specified list.
Public method GetListAndView Returns the list and view schemas for the specified list.
Public method GetListCollection Returns the names and GUIDs for all lists in the site.
Public method GetListContentType Returns the content type definition schema for the specified list content type.
Public method GetListContentTypes Returns a collection of content type definition schemas for all list content types on the given list.
Public method GetListContentTypesAndProperties
Public method GetListItemChanges Returns changes made to the list since the specified date and time.
Public method GetListItemChangesSinceToken Returns changes made to the list since the date and time specified in the token.
Public method GetListItemChangesWithKnowledge Returns all of the list items that meet specified criteria and that have changed since the date-time specified in the knowledge parameter for the specified list.
Public method GetListItems Returns information about items in the list based on the specified query.
Protected method GetReaderForMessage (Inherited from SoapHttpClientProtocol.)
Protected method GetService (Inherited from Component.)
Public method GetType (Inherited from Object.)
Public method GetVersionCollection Returns version information for the specified field in a SharePoint list.
Protected method GetWebRequest (Inherited from SoapHttpClientProtocol.)
Protected method GetWebResponse(WebRequest) (Inherited from HttpWebClientProtocol.)
Protected method GetWebResponse(WebRequest, IAsyncResult) (Inherited from HttpWebClientProtocol.)
Protected method GetWriterForMessage (Inherited from SoapHttpClientProtocol.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method Invoke (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, [], SendOrPostCallback) (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, [], SendOrPostCallback, Object) (Inherited from SoapHttpClientProtocol.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method ToString (Inherited from Component.)
Public method UndoCheckOut Undoes the check-out of a given document in a SharePoint document library.
Public method UpdateContentType Updates the specified list content type.
Public method UpdateContentTypesXmlDocument Adds or overwrites the specified XMLDocument element for all content types on the specified list.
Public method UpdateContentTypeXmlDocument Adds or overwrites the specified XMLDocument element in the specified list content type.
Public method UpdateList Updates a list based on the specified field definitions and list properties.
Public method UpdateListItems Adds, deletes, or updates the specified items in a list on the current site.
Public method UpdateListItemsWithKnowledge Makes inserts, updates, and deletions to specified list items and provides the server with current knowledge metadata.



  Name Description
Public event Disposed (Inherited from Component.)


See Also


Lists Class

Lists Web Service