## HttpWebRequest::set_Method method


设置 HTTP 方法。

```cpp
void System::Net::HttpWebRequest::set_Method(String value) override
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | String | 要设置的 HTTP 方法。 |

## 另见

* Class [String](../../../system/string/)
* Class [HttpWebRequest](../)
* Namespace [System::Net](../../)
* Library [Aspose.Font for C++](../../../)
