Udostępnij przez


MediaTypeHeaderValue.SubType Właściwość

Definicja

Pobiera podtyp elementu MediaTypeHeaderValue.

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

Wartość właściwości

Przykłady

Dla typu "application/vnd.example+json"nośnika właściwość daje wartość "vnd.example+json".

Uwagi

Aby uzyskać więcej informacji na temat podtypu, zobacz https://tools.ietf.org/html/rfc6838#section-4.2 .

Dotyczy