C# Class Amazon.S3.Model.MetadataCollection

This class contains the meta data for an S3 object.
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
Add ( string name, string value ) : void

Adds the metadata to the collection, if the name already exists it will be overwritten.

this ( string name ) : string

Gets and sets meta data for the object. Meta data names must start with "x-amz-meta-". If the name passeed in as the indexer doesn't start with "x-amz-meta-" then it will be prepended.

Method Details

Add() public method

Adds the metadata to the collection, if the name already exists it will be overwritten.
public Add ( string name, string value ) : void
name string The name of the metadata element
value string The value for the metadata
return void

this() public method

Gets and sets meta data for the object. Meta data names must start with "x-amz-meta-". If the name passeed in as the indexer doesn't start with "x-amz-meta-" then it will be prepended.
public this ( string name ) : string
name string The name of the meta data.
return string