IMediaTypeProvider::GetMediaType Method (String^)
Returns the media type for the specified file name.
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
Parameters
- fileName
-
Type:
System::String^
The file name to determine the mapping for.
Return Value
Type: System.Net.Http.Headers::MediaTypeHeaderValue^A new MediaTypeHeaderValue representing the media type for the given file name. If there is no mapping found then a value of application/octet-stream is returned.
Show: