I am attempting to access a feature's attachments in ArcObjects and I'm following the docs for Working with feature attachments. Everything is fine until attempt to access IAttachment.Data because I am expecting there to be data, but that property is null:
which means I can't proceed past:
IMemoryBlobStream memoryBlobStream = attachment.Data;
I am thinking there is a missing step (or steps) in the docs that would fill the attachment object's Data
property with actual data? How is this done?
I am able to access the attachment via the Identify window within ArcMap, so I know the data is there: