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)

'Declaration
Public Overrides Property ContentType As String
'Usage
Dim instance As FileWebRequest
Dim value As String

value = instance.ContentType

instance.ContentType = value
/** @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)

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft