## FormUrlEncodedContent class

使用 application/x-www-form-urlencoded MIME 类型编码的名称/值元组的容器。

```csharp
public class FormUrlEncodedContent : ByteArrayContent
```

## 构造函数

| 姓名 | 描述 |
| --- | --- |
| [FormUrlEncodedContent](formurlencodedcontent/)(IEnumerable&lt;KeyValuePair&lt;string, string&gt;&gt;) | 初始化一个新的实例`FormUrlEncodedContent`类. |

## 特性

| 姓名 | 描述 |
| --- | --- |
| [Headers](../../aspose.html.net/content/headers/) { get; } | 获取 HTTP 内容标头。 |

## 方法

| 姓名 | 描述 |
| --- | --- |
| [Dispose](../../aspose.html.net/content/dispose/)() | 执行与释放、释放或重置非托管资源相关的应用程序定义的任务。 |
| [ReadAsByteArray](../../aspose.html.net/content/readasbytearray/)() | 序列化 HTTP 内容并返回表示内容的字节数组。 |
| [ReadAsStream](../../aspose.html.net/content/readasstream/)() | 序列化 HTTP 内容并返回表示内容的流。 |
| [ReadAsString](../../aspose.html.net/content/readasstring/)() | 序列化 HTTP 内容并返回表示内容的字符串。 |

### 也可以看看

* class [ByteArrayContent](../bytearraycontent/)
* 命名空间 [Aspose.Html.Net](../../aspose.html.net/)
* 部件 [Aspose.HTML](../../)


