Export (0) Print
Expand All

FileWebRequest.ContentType Property

Gets or sets the content type of the data being sent. This property is reserved for future use.

[Visual Basic]
Overrides Public Property ContentType As String
[C#]
public override string ContentType {get; set;}
[C++]
public: __property String* get_ContentType();
public: __property void set_ContentType(String*);
[JScript]
public override function get ContentType() : String;
public override function set ContentType(String);

Property Value

The content type of the data being sent.

Remarks

The ContentType property contains the media type of the data being sent. This is typically the MIME encoding of the content. The ContentType property is currently not used by the FileWebRequest class.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FileWebRequest Class | FileWebRequest Members | System.Net Namespace

Show:
© 2015 Microsoft