## SoapHeaderAttribute::set_Required method


设置一个值，以指示接收方 XML [Web](../../../system.web/) 服务或 XML [Web](../../../system.web/) 服务客户端是否必须理解并处理该 SOAP 头。

```cpp
void System::Web::Services::Protocols::SoapHeaderAttribute::set_Required(bool value)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | bool | 必须设置的值。 |

## Deprecated


## 另见

* Class [SoapHeaderAttribute](../)
* Namespace [System::Web::Services::Protocols](../../)
* Library [Aspose.Font for C++](../../../)
