Sdílet prostřednictvím


FtpWebRequest.ContentType Vlastnost

Definice

Vždy vyvolá .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 vyvolá .NotSupportedException

Výjimky

Informace o typu obsahu nejsou pro FTP podporované.

Poznámky

Vlastnost ContentType je poskytována pouze pro kompatibilitu s jinými implementacemi WebRequest a WebResponse třídy. Neexistuje důvod k použití ContentType.

Platí pro