## SoapMessage::CollectHeaders method


Définit la collection interne des en-têtes SOAP.

```cpp
void System::Web::Services::Protocols::SoapMessage::CollectHeaders(System::SharedPtr<Object> target, System::ArrayPtr<System::SharedPtr<SoapHeaderMapping>> headers, SoapHeaderDirection direction)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| target | System::SharedPtr\<Object\> | L'objet à partir duquel obtenir les en-têtes SOAP. |
| headers | System::ArrayPtr\<System::SharedPtr\<SoapHeaderMapping\>\> | Une collection d'en-têtes à partir de laquelle la collection interne sera remplie. |
| direction | SoapHeaderDirection | La direction de l'en-tête SOAP. |

## Voir aussi

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Enum [SoapHeaderDirection](../../soapheaderdirection/)
* Class [SoapMessage](../)
* Namespace [System::Web::Services::Protocols](../../)
* Library [Aspose.Page for C++](../../../)
