MetaData confusion

Jul 6, 2009 at 6:31 PM
Edited Jul 6, 2009 at 6:35 PM

I see sample code for adding MetaData which I've adapted to this:

Dim blRequest As New Amazon.Model.ObjectAddRequest(Bucket, DestinationFileName)
Dim blResponse As Amazon.Model.ObjectAddResponse
Dim q As New Amazon.Query.ThreeSharpQuery(config)
blRequest.MetaData.Add("description", Description)
blRequest.MetaData.Add("note", Notes)
blRequest.LoadStreamWithFile(fileNameToUpload)
blResponse = q.ObjectAdd(blRequest)

but for cannot retrieve the values afterwards.

I've tried this:

Dim oRequest As New Amazon.Model.ObjectGetRequest(Bucket, FileNode)
Dim oResponse As Amazon.Model.ObjectGetResponse = service.ObjectGet(oRequest)
? oRequest.MetaData.Keys

but do not get back any values.

Can someone point me in the right direction?

Thanks!