## String >::SetTemplateWeakPtr method


将第 n 个模板参数设置为弱指针（而不是共享指针）。允许在容器中将指针切换为弱模式。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 参数 | uint32_t | 要视为弱指针的模板参数的索引。 |

## 另见

* Class [String >](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.Font for C++](../../../)
