DeleteAttachment Method
Deletes an attachment from an item in the list.
Syntax
[VB.NET] Public Sub DeleteAttachment(ByVal ItemId As String, ByVal FileName As String)
[C#] public void DeleteAttachment(string itemId, string fileName);
Remarks
DeleteAttachment permanently removes the attachment specified by FileName from the item specified by ItemId.