ArcObjects Library Reference (GeoDatabase)  

IAttachmentManager.GetAttachmentsByParentIDs Method

Returns the attachments for the objects with the object ids specified in the oids argument.

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

Parameters

oids [in]

  oids 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