共用方式為


IMediaTypeProvider Interface

Definition

Provides an abstraction for getting the media type mapping for a given file name extension.

public interface IMediaTypeProvider
type IMediaTypeProvider = interface
Public Interface IMediaTypeProvider
Derived

Methods

GetMediaType(String)

Returns the media type for the specified file name.

Applies to