Freigeben über


Lists.DeleteContentTypeXmlDocument-Methode

Entfernt ein XML-Dokument aus der XML-Dokument-Auflistung eines Inhaltstyps an.

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
)

Parameter

  • listName
    Typ: System.String

    Eine Zeichenfolge, die den Namen der Liste darstellt.

  • contentTypeId
    Typ: System.String

    Eine Zeichenfolge, die die Inhaltstyp-ID des Inhaltstyps, dem das XMLDocument -Element löschen darstellt.

  • documentUri
    Typ: System.String

    Der Namespace-URI des Dokuments zu entfernen.

Rückgabewert

Typ: System.Xml.XmlNode
Eine Zeichenfolge im folgenden Format, was bedeutet, dass die Methode erfolgreich ausgeführt wurde.

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

Siehe auch

Referenz

Lists Klasse

Lists-Member

WebSvcLists-Namespace