InputFormatter.GetSupportedContentTypes(String, Type) メソッド

定義

contentTypeの でサポートされているコンテンツ タイプのフィルター処理されたIInputFormatter一覧をobjectType取得します。

public:
 virtual System::Collections::Generic::IReadOnlyList<System::String ^> ^ GetSupportedContentTypes(System::String ^ contentType, Type ^ objectType);
public virtual System.Collections.Generic.IReadOnlyList<string> GetSupportedContentTypes (string contentType, Type objectType);
public virtual System.Collections.Generic.IReadOnlyList<string>? GetSupportedContentTypes (string contentType, Type objectType);
abstract member GetSupportedContentTypes : string * Type -> System.Collections.Generic.IReadOnlyList<string>
override this.GetSupportedContentTypes : string * Type -> System.Collections.Generic.IReadOnlyList<string>
Public Overridable Function GetSupportedContentTypes (contentType As String, objectType As Type) As IReadOnlyList(Of String)

パラメーター

contentType
String

サポートされているコンテンツ タイプが必要なコンテンツ タイプ、または null 任意のコンテンツ タイプを使用できる場合。

objectType
Type

Typeサポートされているコンテンツ タイプが必要な 。

戻り値

IInputFormatterサポートされているコンテンツ タイプ。

実装

適用対象