Table of Contents

Class ParameterCollection

Namespace
Amazon.S3.Model
Assembly
AWSSDK.S3.dll

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

int

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 string

The 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

ICollection<string>

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)

Parameters

name string

The name of the parameter

value string

The value for the parameter