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.

Namespace: System.Net
Assembly: System (in system.dll)

public override string ContentType { get; set; }
/** @property */
public String get_ContentType ()

/** @property */
public void set_ContentType (String value)

public override function get ContentType () : String

public override function set ContentType (value : String)

Not applicable.

Property Value

The content type of the data being sent.

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft