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


IMapServer4.QueryAttachmentData2 Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapServer4.QueryAttachmentData2 Method

Returns the attachment data for the given features/ rows.

[Visual Basic .NET]
Public Function QueryAttachmentData2 ( _
    ByVal MapName As String, _
    ByVal pTableDescription As IMapTableDescription, _
    ByVal attachmentIDs As ILongArray, _
    ByVal TransportType As esriTransportType _
) As IAttachmentDataArray
[C#]
public IAttachmentDataArray QueryAttachmentData2 (
    string MapName,
    IMapTableDescription pTableDescription,
    ILongArray attachmentIDs,
    esriTransportType TransportType
);
[C++]
HRESULT QueryAttachmentData2(
  BSTR MapName,
  IMapTableDescription* pTableDescription,
  ILongArray* attachmentIDs,
  esriTransportType TransportType,
  IAttachmentDataArray** attachmentDataArray
);
[C++]

Parameters MapName [in] MapName is a parameter of type BSTR pTableDescription [in]
pTableDescription is a parameter of type IMapTableDescription 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