MediaTypeHeaderValue.SubType Eigenschaft

Definition

Ruft den Untertyp von ab 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

Eigenschaftswert

Beispiele

Für den Medientyp "application/vnd.example+json"gibt die -Eigenschaft den Wert "vnd.example+json"an.

Hinweise

Weitere Informationen zum Untertyp finden Sie https://tools.ietf.org/html/rfc6838#section-4.2 unter.

Gilt für: