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


IMapServer3.QueryAttachmentData 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.QueryAttachmentData Method
ArcGIS Developer Help

IMapServer3.QueryAttachmentData Method

Returns the attachment data for the given features/ rows.

[Visual Basic .NET]
Public Function QueryAttachmentData ( _
    ByVal MapName As String, _
    ByVal TableID As Integer, _
    ByVal attachmentIDs As ILongArray, _
    ByVal TransportType As esriTransportType _
) As IAttachmentDataArray
[C#]
public IAttachmentDataArray QueryAttachmentData (
    string MapName,
    int TableID,
    ILongArray attachmentIDs,
    esriTransportType TransportType
);
[C++]
HRESULT QueryAttachmentData(
  BSTR MapName,
  long TableID,
  ILongArray* attachmentIDs,
  esriTransportType TransportType
);
[C++]
Parameters
MapName [in]

MapName is a parameter of type BSTR TableID [in]
TableID is a parameter of type long attachmentIDs [in]
attachmentIDs is a parameter of type ILongArray* TransportType [in]
TransportType is a parameter of type esriTransportType

Product Availability

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

Remarks

An array of objects that support IAttachmentData. Each AttachmentData object contains AttachmentInfo to relate the data back to the feature/row that this data is attached to, the attachment data and the url to the data.

Use QueryAttachmentInfos to get AttachmentIDs for all attached multimedia data attached to a feature/row.

See Also

IMapServer3 Interface