ArcObjects Library Reference (GeoDatabase)  

IAttachmentManager.DeleteAttachmentsForParent Method

Deletes all attachments for the object with oid.

[Visual Basic .NET]
Public Sub DeleteAttachmentsForParent ( _
    ByVal OID As Integer _
)
[C#]
public void DeleteAttachmentsForParent (
    int OID
);
[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