Condividi tramite


MediaTypeHeaderValue.SubType Proprietà

Definizione

Ottiene il sottotipo di 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

Valore della proprietà

Esempio

Per il tipo "application/vnd.example+json"di supporto , la proprietà fornisce il valore "vnd.example+json".

Commenti

Per altre informazioni sul sottotipo, vedere https://tools.ietf.org/html/rfc6838#section-4.2 altre informazioni.

Si applica a