## CollectionBase::SetTemplateWeakPtr method


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

```cpp
void System::Collections::CollectionBase<T>::SetTemplateWeakPtr(uint32_t argument) override
```


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

## See Also

* Class [CollectionBase](../)
* Namespace [System::Collections](../../)
* Library [Aspose.TeX for C++](../../../)
