Class ParameterCollection
This class contains custom querystring parameters for an S3 object, which can then be signed as part of a Pre-signed URL request
public sealed class ParameterCollection
- Inheritance
-
ParameterCollection
- Inherited Members
Constructors
ParameterCollection()
public ParameterCollection()
Properties
Count
Gets the count of parameters.
public int Count { get; }
Property Value
this[string]
Gets and sets parameters for the object. Parameter names must start with "x-". If the name passeed in as the indexer doesn't start with "x-" then it will be prepended.
public string this[string name] { get; set; }
Parameters
name
stringThe name of the parameter.
Property Value
- string
The value for the meta data
Keys
Gets the names of the parameter elements.
public ICollection<string> Keys { get; }
Property Value
Methods
Add(string, string)
Adds the parameter to the collection, if the name already exists it will be overwritten.
public void Add(string name, string value)