Lists Members

Provides methods for working with lists and list data.

The following tables list the members exposed by the Lists type.

Public Constructors

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


Public Properties

(see also Protected Properties )

Name Description
AllowAutoRedirect (inherited from HttpWebClientProtocol)
ClientCertificates (inherited from HttpWebClientProtocol)
ConnectionGroupName (inherited from WebClientProtocol)
Container (inherited from Component)
CookieContainer (inherited from HttpWebClientProtocol)
Credentials (inherited from WebClientProtocol)
EnableDecompression (inherited from HttpWebClientProtocol)
PreAuthenticate (inherited from WebClientProtocol)
Proxy (inherited from HttpWebClientProtocol)
RequestEncoding (inherited from WebClientProtocol)
Site (inherited from Component)
SoapVersion (inherited from SoapHttpClientProtocol)
Timeout (inherited from WebClientProtocol)
UnsafeAuthenticatedConnectionSharing (inherited from HttpWebClientProtocol)
Url (inherited from WebClientProtocol)
UseDefaultCredentials (inherited from WebClientProtocol)
UserAgent (inherited from HttpWebClientProtocol)


Protected Properties

Name Description
CanRaiseEvents (inherited from Component)
DesignMode (inherited from Component)
Events (inherited from Component)


Public Methods

(see also Protected Methods )

Name Description
Abort (inherited from WebClientProtocol)
AddAttachment Adds an attachment to the specified list item in the specified list.
AddDiscussionBoardItem Adds an item to the specified discussion board on the current Web site.
AddList Creates a list in the current site based on the specified name, description, and list template ID.
AddListFromFeature Creates a list in the current site based on the specified name, description, Feature ID, and list template ID.
ApplyContentTypeToList Adds the specified site content type to a list, as a list content type.
CheckInFile Allows documents to be checked in to a SharePoint document library remotely.
CheckOutFile Allows documents in a SharePoint document library to be checked out remotely.
CreateContentType Creates a list content type on the list.
CreateObjRef (inherited from MarshalByRefObject)
DeleteAttachment Removes the attachment from the specified list item.
DeleteContentType Removes the specified list content type from the designated list.
DeleteContentTypeXmlDocument Removes the specified XMLDocument element from the specified list content type.
DeleteList Deletes the specified list.
Discover (inherited from SoapHttpClientProtocol)
Dispose Overloaded. (inherited from Component)
Equals Overloaded. (inherited from Object)
GenerateXmlMappings Overloaded. (inherited from HttpWebClientProtocol)
GetAttachmentCollection Returns a list of the URLs for attachments to the specified item.
GetHashCode (inherited from Object)
GetLifetimeService (inherited from MarshalByRefObject)
GetList Returns a schema for the specified list.
GetListAndView Returns the list and view schemas for the specified list.
GetListCollection Returns the names and GUIDs for all lists in the site.
GetListContentType Returns the content type definition schema for the specified list content type.
GetListContentTypes Returns a collection of content type definition schemas for all list content types on the given list.
GetListItemChanges Returns changes made to the list since the specified date and time.
GetListItemChangesSinceToken Returns changes made to the list since the date and time specified in the token.
GetListItems Returns information about items in the list based on the specified query.
GetType (inherited from Object)
GetVersionCollection Returns version information for the specified field in a SharePoint list.
InitializeLifetimeService (inherited from MarshalByRefObject)
ReferenceEquals (inherited from Object)
ToString (inherited from Component)
UndoCheckOut Undoes the check-out of a given document in a SharePoint document library.
UpdateContentType Updates the specified list content type.
UpdateContentTypesXmlDocument Adds or overwrites the specified XMLDocument element for all content types on the specified list.
UpdateContentTypeXmlDocument Adds or overwrites the specified XMLDocument element in the specified list content type.
UpdateList Updates a list based on the specified field definitions and list properties.
UpdateListItems Adds, deletes, or updates the specified items in a list on the current site.


Protected Methods

Name Description
AddToCache (inherited from WebClientProtocol)
BeginInvoke (inherited from SoapHttpClientProtocol)
CancelAsync (inherited from HttpWebClientProtocol)
Dispose Overloaded. (inherited from Component)
EndInvoke (inherited from SoapHttpClientProtocol)
Finalize (inherited from Component)
GetFromCache (inherited from WebClientProtocol)
GetReaderForMessage (inherited from SoapHttpClientProtocol)
GetService (inherited from Component)
GetWebRequest (inherited from SoapHttpClientProtocol)
GetWebResponse Overloaded. (inherited from HttpWebClientProtocol)
GetWriterForMessage (inherited from SoapHttpClientProtocol)
Invoke (inherited from SoapHttpClientProtocol)
InvokeAsync Overloaded. (inherited from SoapHttpClientProtocol)
MemberwiseClone Overloaded. (inherited from MarshalByRefObject)


Public Events

Name Description
Disposed (inherited from Component)


See Also


Lists Class
Lists Web Service