Sdílet prostřednictvím


FileWebRequest.ContentType Vlastnost

Definice

Získá nebo nastaví typ obsahu odesílaných dat. Tato vlastnost je vyhrazena pro budoucí použití.

public:
 virtual property System::String ^ ContentType { System::String ^ get(); void set(System::String ^ value); };
public override string? ContentType { get; set; }
public override string ContentType { get; set; }
member this.ContentType : string with get, set
Public Overrides Property ContentType As String

Hodnota vlastnosti

Typ obsahu odesílaných dat.

Poznámky

Vlastnost ContentType obsahuje typ média odesílaných dat. Obvykle se jedná o kódování MIME obsahu. Vlastnost ContentType není aktuálně používána FileWebRequest třídou .

Platí pro