SetTemplateWeakPtr()

CollectionBase::SetTemplateWeakPtr(uint32_t) method

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

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

Arguments

ParameterTypeDescription
argumentuint32_tIndex of template argument to treat as weak poiner.

See Also