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

IMapServer3.QueryAttachmentInfos Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServer3 Interface > IMapServer3.QueryAttachmentInfos Method
ArcGIS Developer Help

IMapServer3.QueryAttachmentInfos Method

Returns the attachment info that describe the attachments for the given features/ rows.

[Visual Basic .NET]
Public Function QueryAttachmentInfos ( _
    ByVal MapName As String, _
    ByVal TableID As Integer, _
    ByVal rowIDs As ILongArray _
) As IAttachmentInfoArray
public IAttachmentInfoArray QueryAttachmentInfos (
    string MapName,
    int TableID,
    ILongArray rowIDs
HRESULT QueryAttachmentInfos(
  BSTR MapName,
  long TableID,
  ILongArray* rowIDs
MapName [in]

MapName is a parameter of type BSTR TableID [in]
TableID is a parameter of type long rowIDs [in]
rowIDs is a parameter of type ILongArray*

Product Availability

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


An array of objects that supports IAttachmentInfo. Each AttachmentInfo object represents metadata for each multimedia data such as Attachment ID, content mime type, name, source OID and size in bytes.

You should check MapLayerInfo.HasAttachments before using this function.

See Also

IMapServer3 Interface