Aracılığıyla paylaş


MediaTypeHeaderValue.Type Özellik

Tanım

türünü MediaTypeHeaderValuealır.

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

Özellik Değeri

Örnekler

medya türü "application/json"için özelliği değerini "application"verir.

Açıklamalar

Türü hakkında daha fazla ayrıntı için bkz https://tools.ietf.org/html/rfc6838#section-4.2 .

Şunlara uygulanır