Partager via


Webs.RemoveContentTypeXmlDocument, méthode (websvcWebs)

Removes the specified XmlDocument, élément (ContentType) element from the specified site content type.

Espace de noms : websvcWebs
Assembly : STSSOAP (dans stssoap.dll)

Syntaxe

'Déclaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/RemoveContentTypeXmlDocument", RequestNamespace:="https://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace:="https://schemas.microsoft.com/sharepoint/soap/", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function RemoveContentTypeXmlDocument ( _
    contentTypeId As String, _
    documentUri As String _
) As XmlNode
'Utilisation
Dim instance As Webs
Dim contentTypeId As String
Dim documentUri As String
Dim returnValue As XmlNode

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

Paramètres

  • contentTypeId
    A string that represents the content type ID for the site content type.
  • documentUri
    A string that represents the URI of the XMLDocument element to remove.

Valeur retournée

A string, in the following format, indicating that the method succeeded.

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

Notes

You can use XmlDocument, élément (ContentType) elements to store custom information in content type definitions. For more information, see Informations personnalisées dans des types de contenu.

Voir aussi

Référence

Webs, classe
Membres Webs
websvcWebs, espace de noms