IAcceptsMetadata.ContentTypes Vlastnost

Definice

Získá seznam povolených typů obsahu požadavku. Pokud příchozí požadavek nemá typ obsahu s jednou z těchto hodnot, požadavek bude odmítnut s odpovědí 415.

public System.Collections.Generic.IReadOnlyList<string> ContentTypes { get; }
member this.ContentTypes : System.Collections.Generic.IReadOnlyList<string>
Public ReadOnly Property ContentTypes As IReadOnlyList(Of String)

Hodnota vlastnosti

IReadOnlyList<String>

Platí pro