Lists.DeleteContentTypeXmlDocument method

Removes an XML document from the XML document collection of a content type.

Namespace:  WebSvcLists
Assembly:  STSSOAP (in STSSOAP.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/DeleteContentTypeXmlDocument", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function DeleteContentTypeXmlDocument ( _
    listName As String, _
    contentTypeId As String, _
    documentUri As String _
) As XmlNode
'Usage
Dim instance As Lists
Dim listName As String
Dim contentTypeId As String
Dim documentUri As String
Dim returnValue As XmlNode

returnValue = instance.DeleteContentTypeXmlDocument(listName, _
    contentTypeId, documentUri)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/DeleteContentTypeXmlDocument", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public XmlNode DeleteContentTypeXmlDocument(
    string listName,
    string contentTypeId,
    string documentUri
)

Parameters

  • listName
    Type: System.String

    A string that represents the name of the list.

  • contentTypeId
    Type: System.String

    A string that represents the content type ID of the content type to which to delete the XMLDocument element.

  • documentUri
    Type: System.String

    The namespace URI of the document to remove.

Return value

Type: System.Xml.XmlNode
A string, in the following format, indicating that the method succeeded.

Success xmlns="https://schemas.microsoft.com/sharepoint/soap/"/>

See also

Reference

Lists class

Lists members

WebSvcLists namespace