FtpWebRequest.ContentType Vlastnost

Definice

Vždy vyhodí NotSupportedException.

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

Vždy vyhodí NotSupportedException.

Výjimky

Protokol FTP nepodporuje informace o typu obsahu.

Poznámky

Vlastnost ContentType je poskytována pouze z důvodu kompatibility s jinými implementacemi WebRequest tříd a WebResponse . Neexistuje žádný důvod k použití ContentType.

Platí pro