C# Class Amazon.S3.Model.MetadataCollection

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

Méthodes publiques

Méthode 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 méthode

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
Résultat void

this() public méthode

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.
Résultat string