System::Text::Json::Serialization::Metadata::JsonObjectInfoValues::SetTemplateWeakPtr method

JsonObjectInfoValues::SetTemplateWeakPtr method

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

void System::Text::Json::Serialization::Metadata::JsonObjectInfoValues<T>::SetTemplateWeakPtr(uint32_t argument) override
ParameterTypeDescription
argumentuint32_tIndex of template argument to treat as weak poiner.

See Also