FtpWebRequest.ContentType Özellik

Tanım

Her zaman bir NotSupportedExceptionatar.

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

Özellik Değeri

Her zaman bir NotSupportedExceptionatar.

Özel durumlar

İçerik türü bilgileri FTP için desteklenmiyor.

Açıklamalar

ContentType özelliği yalnızca ve WebResponse sınıflarının WebRequest diğer uygulamalarıyla uyumluluk için sağlanır. kullanmak ContentTypeiçin bir neden yoktur.

Şunlara uygulanır