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


IAttachmentManager2.GetAttachmentsByParentGlobalIDs Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IAttachmentManager2.GetAttachmentsByParentGlobalIDs Method

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

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

Parameters parentGlobalIDs [in]
parentGlobalIDs is a parameter of type IStringArray 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

IAttachmentManager2 Interface