MediaTypeHeaderValue.SubTypeWithoutSuffix Eigenschaft

Definition

Ruft den Untertyp von ab, mit MediaTypeHeaderValueAusnahme eines strukturierten Syntaxsuffixs. Gibt zurück Empty , wenn kein Untertyp ohne Suffix vorhanden ist.

public:
 property Microsoft::Extensions::Primitives::StringSegment SubTypeWithoutSuffix { Microsoft::Extensions::Primitives::StringSegment get(); };
public Microsoft.Extensions.Primitives.StringSegment SubTypeWithoutSuffix { get; }
member this.SubTypeWithoutSuffix : Microsoft.Extensions.Primitives.StringSegment
Public ReadOnly Property SubTypeWithoutSuffix As StringSegment

Eigenschaftswert

Beispiele

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

Gilt für: