This documentation is archived and is not being maintained.

Lists.DeleteContentTypeXmlDocument Method

Windows SharePoint Services 3
Removes the specified XMLDocument element from the specified list content type.

Web Service: ListsWeb Reference: http://<Site>/_vti_bin/Lists.asmx

[SoapDocumentMethodAttribute("", RequestNamespace="", ResponseNamespace="", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public XmlNode DeleteContentTypeXmlDocument (
	string listName,
	string contentTypeId,
	string documentUri



A string containing the name of the list that contains the list content type.


A string containing the content type ID of the list content type that contains the XMLDocument element.


The document URI specified in the XMLDocument element.

Windows SharePoint Services uses this URI to identify the correct XMLDocument element to delete.

Return Value

A string, in the following format, indicating that the method succeeded.
<Success xmlns=""/>

You can use XMLDocument elements to store custom information in content type definitions. For more information, see Custom Information in Content Types.