Table of Contents

Class SharedAccessFileHeaders

Namespace
Microsoft.WindowsAzure.Storage.File
Assembly
Microsoft.WindowsAzure.Storage.dll

Represents the optional headers that can be returned with files accessed using SAS.

public sealed class SharedAccessFileHeaders
Inheritance
SharedAccessFileHeaders
Inherited Members

Constructors

SharedAccessFileHeaders()

Initializes a new instance of the SharedAccessFileHeaders class.

public SharedAccessFileHeaders()

SharedAccessFileHeaders(SharedAccessFileHeaders)

Initializes a new instance of the SharedAccessFileHeaders class based on an existing instance.

public SharedAccessFileHeaders(SharedAccessFileHeaders sharedAccessFileHeaders)

Parameters

sharedAccessFileHeaders SharedAccessFileHeaders

The set of SharedAccessFileHeaders to clone.

Properties

CacheControl

Gets or sets the cache-control header returned with the file.

public string CacheControl { get; set; }

Property Value

string

A string containing the cache-control value.

ContentDisposition

Gets or sets the content-disposition header returned with the file.

public string ContentDisposition { get; set; }

Property Value

string

A string containing the content-disposition value.

ContentEncoding

Gets or sets the content-encoding header returned with the file.

public string ContentEncoding { get; set; }

Property Value

string

A string containing the content-encoding value.

ContentLanguage

Gets or sets the content-language header returned with the file.

public string ContentLanguage { get; set; }

Property Value

string

A string containing the content-language value.

ContentType

Gets or sets the content-type header returned with the file.

public string ContentType { get; set; }

Property Value

string

A string containing the content-type value.