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


IAttachmentManager.DeleteAttachmentsForParent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IA > IAttachmentManager Interface > IAttachmentManager.DeleteAttachmentsForParent Method
ArcGIS Developer Help

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