Amazon.S3.Model.HeadersCollection.this C# (CSharp) Method

this() public method

Gets and sets headers to set for the object.
public this ( string name ) : string
name string The name of the header
return string
        public string this[string name]
        {
            get
            {
                string value;
                if (values.TryGetValue(name, out value))
                    return value;

                return null;
            }
            set
            {
                if (value != null)
                {
                    values[name] = value;
                }
                else if (values.ContainsKey(name))
                {
                    values.Remove(name);
                }
            }
        }
HeadersCollection