ConsumesAttribute Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
ConsumesAttribute(String, String[]) |
Vytvoří novou instanci položky ConsumesAttribute. |
ConsumesAttribute(Type, String, String[]) |
Vytvoří novou instanci položky ConsumesAttribute. |
ConsumesAttribute(String, String[])
Vytvoří novou instanci položky 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())
Parametry
- contentType
- String
- otherContentTypes
- String[]
Platí pro
ConsumesAttribute(Type, String, String[])
Vytvoří novou instanci položky 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())
Parametry
- requestType
- Type
- contentType
- String
- otherContentTypes
- String[]
Platí pro
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro