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 .

적용 대상