DataContent.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 the media type (also known as MIME type) of the content.
public:
property System::String ^ MediaType { System::String ^ get(); };
[System.Text.Json.Serialization.JsonPropertyOrder(1)]
public string? MediaType { get; }
[<System.Text.Json.Serialization.JsonPropertyOrder(1)>]
member this.MediaType : string
Public ReadOnly Property MediaType As String
Property Value
- Attributes
Remarks
If the media type was explicitly specified, this property returns that value. If the media type was not explicitly specified, but a data URI was supplied and that data URI contained a non-default media type, that media type is returned. Otherwise, this property returns null.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.