Amazon.S3.Model.MetadataCollection.this C# (CSharp) Метод

this() публичный Метод

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.
Результат string
        public string this[string name]
        {
            get
            {
                if (!name.StartsWith("x-amz-meta-", StringComparison.OrdinalIgnoreCase))
                    name = "x-amz-meta-" + name;

                string value;
                if (values.TryGetValue(name, out value))
                    return value;

                return null;
            }
            set
            {
                if (!name.StartsWith("x-amz-meta-", StringComparison.OrdinalIgnoreCase))
                    name = "x-amz-meta-" + name;

                values[name] = value;
            }
        }
MetadataCollection