MediaTypeHeaderValue.Type Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene il tipo di MediaTypeHeaderValue.
public:
property System::String ^ Type { System::String ^ get(); };
public:
property Microsoft::Extensions::Primitives::StringSegment Type { Microsoft::Extensions::Primitives::StringSegment get(); };
public string Type { get; }
public Microsoft.Extensions.Primitives.StringSegment Type { get; }
member this.Type : string
member this.Type : Microsoft.Extensions.Primitives.StringSegment
Public ReadOnly Property Type As String
Public ReadOnly Property Type As StringSegment
Valore della proprietà
Esempio
Per il tipo "application/json"di supporto , la proprietà fornisce il valore "application".
Commenti
Per altre informazioni sul tipo, vedere https://tools.ietf.org/html/rfc6838#section-4.2 altre informazioni.