This document is archived and information here might be outdated.  Recommended version.


IAttachmentManager.DeleteAttachmentsForParent Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IAttachmentManager.DeleteAttachmentsForParent Method

Deletes all attachments for the object with oid.

[Visual Basic .NET]
Public Sub DeleteAttachmentsForParent ( _
    ByVal parentObjectID As Integer _
)
[C#]
public void DeleteAttachmentsForParent (
    int parentObjectID
);
[C++]
HRESULT DeleteAttachmentsForParent(
  long parentObjectID
);
[C++]

Parameters parentObjectID [in] parentObjectID is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IAttachmentManager Interface