你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BlobStorageResourceOptions.ContentDisposition Property

Definition

Optional. Sets the Content Disposition header which conveys additional information about how to process the response payload, and also can be used to attach additional metadata. For example, if set to attachment, it indicates that the user-agent should not display the response, but instead show a Save As dialog with a filename other than the blob name specified.

By default preserves the Content Disposition from the source. If explicitly set to null, the Content Disposition will not be preserved and set to null.

Applies to upload and copy transfers.

public string ContentDisposition { get; set; }
public Azure.Storage.DataMovement.DataTransferProperty<string> ContentDisposition { get; set; }
member this.ContentDisposition : string with get, set
member this.ContentDisposition : Azure.Storage.DataMovement.DataTransferProperty<string> with get, set
Public Property ContentDisposition As String
Public Property ContentDisposition As DataTransferProperty(Of String)

Property Value

Applies to