Share via


MediaTypeHeaderValue.Type プロパティ

定義

MediaTypeHeaderValue の型を取得します。

public:
 property System::String ^ Type { System::String ^ get(); };
public:
 property Microsoft::Extensions::Primitives::StringSegment Type { Microsoft::Extensions::Primitives::StringSegment get(); };
public string Type { get; }
public Microsoft.Extensions.Primitives.StringSegment Type { get; }
member this.Type : string
member this.Type : Microsoft.Extensions.Primitives.StringSegment
Public ReadOnly Property Type As String
Public ReadOnly Property Type As StringSegment

プロパティ値

メディアの種類 "application/json"の 場合、 プロパティは 値 "application"を指定します。

注釈

型の詳細については、 を参照 https://tools.ietf.org/html/rfc6838#section-4.2 してください。

適用対象