Share via


Lists.DeleteAttachment Method

This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/DeleteAttachment", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub DeleteAttachment ( _
    listName As String, _
    listItemID As String, _
    url As String _
)
'Usage
Dim instance As Lists
Dim listName As String
Dim listItemID As String
Dim url As String

instance.DeleteAttachment(listName, listItemID, _
    url)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/DeleteAttachment", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void DeleteAttachment(
    string listName,
    string listItemID,
    string url
)

Parameters

See Also

Reference

Lists Class

Lists Members

Microsoft.SharePoint.Portal.WebControls Namespace