Lists.DeleteContentTypeXmlDocument Method
Removes the specified XMLDocument element from the specified list 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 containing the name of the list that contains the list content type.
- contentTypeId
Type: System.String
A string containing the content type ID of the list content type that contains the XMLDocument element.
- documentUri
Type: System.String
The document URI specified in the XMLDocument element.
Windows SharePoint Services uses this URI to identify the correct XMLDocument element to delete.
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/"/>
Remarks
You can use XMLDocument elements to store custom information in content type definitions. For more information, see Custom Information in Content Types.