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


IAttachmentManager.GetAttachmentsByAttachmentIDs Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IAttachmentManager.GetAttachmentsByAttachmentIDs Method

Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.

[Visual Basic .NET]
Public Function GetAttachmentsByAttachmentIDs ( _
    ByVal attachmentIDs As ILongArray, _
    ByVal infosOnly As Boolean _
) As IEnumAttachment
[C#]
public IEnumAttachment GetAttachmentsByAttachmentIDs (
    ILongArray attachmentIDs,
    bool infosOnly
);
[C++]
HRESULT GetAttachmentsByAttachmentIDs(
  ILongArray* attachmentIDs,
  VARIANT_BOOL infosOnly,
  IEnumAttachment** attachments
);
[C++]

Parameters attachmentIDs [in]
attachmentIDs is a parameter of type ILongArray infosOnly infosOnly is a parameter of type VARIANT_BOOL attachments [out, retval]
attachments is a parameter of type IEnumAttachment

Product Availability

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

See Also

IAttachmentManager Interface