Метод Lists.DeleteContentTypeXmlDocument
Удаляет из коллекции документа XML-типа контента XML-документ.
Пространство имен: WebSvcLists
Сборка: STSSOAP (в STSSOAP.dll)
Синтаксис
'Декларация
<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
'Применение
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
)
Параметры
listName
Тип: System.StringСтрока, представляющая имя списка.
contentTypeId
Тип: System.StringСтрока, которая представляет идентификатор типа контента для типа контента, для которого требуется удалить элемент XMLDocument .
documentUri
Тип: System.StringПространство имен URI документа для удаления.
Возвращаемое значение
Тип: System.Xml.XmlNode
Строка, в следующем формате, указывающего на то, что метод выполнен успешно.
Success xmlns="https://schemas.microsoft.com/sharepoint/soap/"/>