---
title: "System::Text::Json::Serialization::ConfigurationList::SetTemplateWeakPtr method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json.serialization/configurationlist/settemplateweakptr/"
product: "Aspose.PDF for C++ API Reference"
description: "System::Text::Json::Serialization::ConfigurationList::SetTemplateWeakPtr method. Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode in C++."
---

## ConfigurationList::SetTemplateWeakPtr method


Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.

```cpp
void System::Text::Json::Serialization::ConfigurationList<TItem>::SetTemplateWeakPtr(uint32_t argument) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| argument | uint32_t | [Index](../../../system/index/) of template argument to treat as weak poiner. |

## See Also

* Class [ConfigurationList](../)
* Namespace [System::Text::Json::Serialization](../../)
* Library [Aspose.PDF for C++](../../../)
