ConsumesAttribute コンストラクター

定義

オーバーロード

ConsumesAttribute(String, String[])

ConsumesAttribute の新しいインスタンスを作成します。

ConsumesAttribute(Type, String, String[])

ConsumesAttribute の新しいインスタンスを作成します。

ConsumesAttribute(String, String[])

ConsumesAttribute の新しいインスタンスを作成します。

public:
 ConsumesAttribute(System::String ^ contentType, ... cli::array <System::String ^> ^ otherContentTypes);
public ConsumesAttribute (string contentType, params string[] otherContentTypes);
new Microsoft.AspNetCore.Mvc.ConsumesAttribute : string * string[] -> Microsoft.AspNetCore.Mvc.ConsumesAttribute
Public Sub New (contentType As String, ParamArray otherContentTypes As String())

パラメーター

contentType
String
otherContentTypes
String[]

適用対象

ConsumesAttribute(Type, String, String[])

ConsumesAttribute の新しいインスタンスを作成します。

public ConsumesAttribute (Type requestType, string contentType, params string[] otherContentTypes);
new Microsoft.AspNetCore.Mvc.ConsumesAttribute : Type * string * string[] -> Microsoft.AspNetCore.Mvc.ConsumesAttribute
Public Sub New (requestType As Type, contentType As String, ParamArray otherContentTypes As String())

パラメーター

requestType
Type
contentType
String
otherContentTypes
String[]

適用対象