Attachment.ContentType プロパティ

定義

Azure Cosmos DB サービスの添付ファイルの MIME コンテンツ タイプを取得または設定します。

[Newtonsoft.Json.JsonProperty(PropertyName="contentType")]
public string ContentType { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="contentType")>]
member this.ContentType : string with get, set
Public Property ContentType As String

プロパティ値

添付ファイルの MIME コンテンツ タイプ。

属性
Newtonsoft.Json.JsonPropertyAttribute

注釈

たとえば、テキスト ファイルの場合は "text/plain" に、画像の場合は "image/jpeg" に設定します。

適用対象