FormatterMappings.GetMediaTypeMappingForFormat(String) 方法

定義

取得指定格式的媒體類型。

public:
 System::String ^ GetMediaTypeMappingForFormat(System::String ^ format);
public string GetMediaTypeMappingForFormat (string format);
public string? GetMediaTypeMappingForFormat (string format);
member this.GetMediaTypeMappingForFormat : string -> string
Public Function GetMediaTypeMappingForFormat (format As String) As String

參數

format
String

格式值。

傳回

輸入格式的媒體類型。

適用於