## SoapMessage::SetHeaders method


Ställer in samlingen av SOAP‑huvuden.

```cpp
void System::Web::Services::Protocols::SoapMessage::SetHeaders(System::SharedPtr<SoapHeaderCollection> headers)
```


| Parameter | Type | Beskrivning |
| --- | --- | --- |
| huvuden | System::SharedPtr\<SoapHeaderCollection\> | Samlingen av SOAP‑huvuden som ska ställas in. |

## Se även

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [SoapHeaderCollection](../../soapheadercollection/)
* Class [SoapMessage](../)
* Namespace [System::Web::Services::Protocols](../../)
* Library [Aspose.Page for C++](../../../)
