## JsonHelpers::CreateDictionaryFromCollection method




```cpp
template<typename TKey,typename TValue> static System::SharedPtr<Collections::Generic::Dictionary<TKey, TValue>> System::Text::Json::JsonHelpers::CreateDictionaryFromCollection(System::SharedPtr<Collections::Generic::IEnumerable<Collections::Generic::KeyValuePair<TKey, TValue>>> collection, System::SharedPtr<Collections::Generic::IEqualityComparer<TKey>> comparer)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Dictionary](../../../system.collections.generic/dictionary/)
* Class [IEnumerable](../../../system.collections.generic/ienumerable/)
* Class [KeyValuePair](../../../system.collections.generic/keyvaluepair/)
* Class [IEqualityComparer](../../../system.collections.generic/iequalitycomparer/)
* Class [JsonHelpers](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
