ArcObjects Library Reference (Carto)  

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
[C#]
public IAttachmentInfoArray QueryAttachmentInfos (
    string MapName,
    int TableID,
    ILongArray rowIDs
);
[C++]
HRESULT QueryAttachmentInfos(
  BSTR MapName,
  long TableID,
  ILongArray* rowIDs,
  IAttachmentInfoArray** ppAttachmentInfos
);
[C++]

Parameters

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

ppAttachmentInfos [out, retval]

  ppAttachmentInfos is a parameter of type IAttachmentInfoArray

Product Availability

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

Remarks

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