MediaTypeHeaderValue.MediaType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the media-type header value.
public:
property System::String ^ MediaType { System::String ^ get(); void set(System::String ^ value); };
public string MediaType { get; set; }
public string? MediaType { get; set; }
member this.MediaType : string with get, set
Public Property MediaType As String
Property Value
The media-type header value.
Remarks
The media-type is used in the Content-Type and Accept header fields in order to provide open and extensible data typing and type negotiation.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.