FtpWebRequest.ContentType プロパティ

定義

常に 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

プロパティ値

常に NotSupportedException をスローします。

例外

コンテンツ タイプの情報が FTP でサポートされていません。

注釈

プロパティはContentType、 クラスと WebResponse クラスの他のWebRequest実装との互換性のためにのみ提供されます。 を使用 ContentTypeする理由はありません。

適用対象