Queries and returns descriptive information on multimedia data attached to any feature.
QueryAttachmentInfos(String MapName, int SourceTableID, int[] SourceOIDs)
Parameter |
Description |
MapName |
The name of the map (data frame) that contains the layer or table. |
SourceTableID |
The layer or standalone table id of the source layer or table. |
SourceOIDs |
An array of integers contains unique identifiers for feature or row (ObjectID) in the source layer or table whose attached multimedia data will be queried. |
Return Value
An array of AttachmentInfo objects (AttachmentInfo[]), each representing descriptive information for each multimedia data such as Attachment ID, content mime type, name, source OID and size in bytes.
.
Remarks
For layers, the LayerID property of the MapLayerInfo is used as the SourceTableID. For stand alone tables, the ID property of the StandaloneTableInfo is used as the SourceTableID.