MediaTypeHeaderValue.SubType Propriété

Définition

Obtient le sous-type de .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

Valeur de propriété

Exemples

Pour le type "application/vnd.example+json"de média , la propriété donne la valeur "vnd.example+json".

Remarques

Pour plus d’informations sur le sous-type, consultez https://tools.ietf.org/html/rfc6838#section-4.2 .

S’applique à