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


IMapServer4.QueryAttachmentData Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapServer4.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,
  IAttachmentDataArray** attachmentDataArray
);
[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 attachmentDataArray [out, retval]
attachmentDataArray is a parameter of type IAttachmentDataArray

Product Availability

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

See Also

IMapServer4 Interface