MediaTypeHeaderValue.Type プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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 してください。