Cloud Storage Integrator - Online Help
Cloud Storage Integrator
Questions / Feedback?

AddUserMetaData Method

Adds meta data to an object.

Syntax

[VB.NET]
Public Sub AddUserMetaData(ByVal Key As String, ByVal Value As String)
[C#]
public void AddUserMetaData(string key, string value);

Remarks

This method allows you to associate user meta data with an object. Before calling CreateObject use this method to add up to 2k of user meta data. The "x-amz-meta" prefix is added automatically and will be ignored if specified.

The meta data will be accessible through the Header when calling GetObject.

When unprintable characters are supplied, an "x-amz-missing-meta" header is returned from the server with a number which specifies the number of unprintable entries.

NOTE: This method has a corresponding asynchronous version (AddUserMetaDataAsync) for use in the WinRT environment.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0