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

JsonCollectionInfoValues::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::JsonCollectionInfoValues<TCollection>::SetTemplateWeakPtr(uint32_t argument) override
ParameterTypeDescription
argumentuint32_tIndex of template argument to treat as weak poiner.

See Also