ProducesAttribute.ContentTypes Propiedad

Definición

Obtiene o establece los tipos de contenido de respuesta admitidos. Se usa para establecer ContentTypes.

public:
 property Microsoft::AspNetCore::Mvc::Formatters::MediaTypeCollection ^ ContentTypes { Microsoft::AspNetCore::Mvc::Formatters::MediaTypeCollection ^ get(); void set(Microsoft::AspNetCore::Mvc::Formatters::MediaTypeCollection ^ value); };
public Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection ContentTypes { get; set; }
member this.ContentTypes : Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection with get, set
Public Property ContentTypes As MediaTypeCollection

Valor de propiedad

Se aplica a