FtpWebRequest.ContentType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Always throws a 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
Property Value
Always throws a NotSupportedException.
Exceptions
Content type information is not supported for FTP.
Remarks
The ContentType property is provided only for compatibility with other implementations of the WebRequest and WebResponse classes. There is no reason to use ContentType.
Applies to
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.