Table of Contents

Class MediaOptions

Namespace
Microsoft.Azure.Documents.Client
Assembly
Microsoft.Azure.Documents.Client.dll

Options used with attachment content (aka media) creation in the Azure Cosmos DB service.

public sealed class MediaOptions
Inheritance
MediaOptions
Inherited Members
Extension Methods

Constructors

MediaOptions()

public MediaOptions()

Properties

ContentType

Gets or sets the ContentType header in the Azure Cosmos DB service.

public string ContentType { get; set; }

Property Value

string

The ContentType header

Slug

Gets or sets the Slug header in the Azure Cosmos DB service.

public string Slug { get; set; }

Property Value

string

The slug header.