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 attIDs As ILongArray, _
    ByVal infosOnly As Boolean _
) As IEnumAttachment
[C#]
public IEnumAttachment GetAttachmentsByAttachmentIDs (
    ILongArray attIDs,
    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