This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServer3 Interface > IMapServer3.QueryAttachmentInfos Method (ArcObjects .NET 10.5 SDK) |
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
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.