ConsumesAttribute.ContentTypes ConsumesAttribute.ContentTypes ConsumesAttribute.ContentTypes ConsumesAttribute.ContentTypes Property

Definition

Gets or sets the supported request content types. Used to select an action when there would otherwise be multiple matches.

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

Property Value

Applies to