Feature Service QueryAttachmentInfos method

Queries and returns an array of objects containing AttachmentIDs and the properties of the attachments.

 

QueryAttacmentInfos(int LayerOrTableID, int[] IDsOfObjectstoQuery)

 

Parameter

Description

LayerOrTableID

The unique identifier of a layer or table.

IDsOfObjectstoQuery

An array of ObjectIDs to query.

 

Return Value

 

An array of attachment information objects (AttachmentInfo[])

 

Remarks

 

This method returns an array of AttachmentInfo objects, each containing an AttachmentID for all of the related attachments as well as the properties of each attachment. Once you have the AttachmentIDs you can use the QueryAttachmentData to access the attachments.