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("http://schemas.microsoft.com/sharepoint/soap/DeleteContentTypeXmlDocument", RequestNamespace="http://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/soap/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public XmlNode DeleteContentTypeXmlDocument (
	string listName,
	string contentTypeId,
	string documentUri
)

Parameters

listName

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

contentTypeId

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

documentUri

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="http://schemas.microsoft.com/sharepoint/soap/"/>

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

Show: