MultipartForm Class
From HD.Common
| MultipartForm Class | Helper帮助文档 |
对文件和文本数据进行Multipart形式的编码
Inheritance Hierarchy
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class MultipartForm
Public Class MultipartForm
public ref class MultipartForm
type MultipartForm = class end
The MultipartForm type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| MultipartForm |
实例化
|
Methods
| Name | Description | |
|---|---|---|
| AddFlie(String, String) |
添加一个文件
| |
| AddFlie(String, String, Byte, Int32) |
添加一个文件
| |
| AddString |
添加字符串
| |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| ContentType |
获取此编码内容的类型
| |
| FormData |
获取编码后的字节数组
| |
| StringEncoding |
获取或设置对字符串采用的编码类型
|
See Also