## ObjectCollection::SetTemplateWeakPtr method


Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.

```cpp
void System::Net::Http::Headers::ObjectCollection<T>::SetTemplateWeakPtr(uint32_t argument) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| argument | uint32_t | Index of template argument to treat as weak poiner. |

## See Also

* Class [ObjectCollection](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.PUB for C++](../../../)
