FileWebRequest.ContentType FileWebRequest.ContentType FileWebRequest.ContentType FileWebRequest.ContentType Property

定义

获取或设置发送的数据的内容类型。Gets or sets the content type of the data being sent. 保留此属性供将来使用。This property is reserved for future use.

public:
 virtual property System::String ^ ContentType { System::String ^ get(); void set(System::String ^ value); };
public override string ContentType { get; set; }
member this.ContentType : string with get, set
Public Overrides Property ContentType As String

属性值

发送的数据的内容类型。The content type of the data being sent.

注解

ContentType属性包含要发送的数据的媒体类型。The ContentType property contains the media type of the data being sent. 这通常是内容的 MIME 编码。This is typically the MIME encoding of the content. FileWebRequest类当前未使用此ContentType属性。The ContentType property is currently not used by the FileWebRequest class.

适用于