PooledDictionary<K,V>.CreatePool(IEqualityComparer<K>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static Microsoft::VisualStudio::Utilities::ObjectPool<Microsoft::VisualStudio::Utilities::PooledDictionary<K, V> ^> ^ CreatePool(System::Collections::Generic::IEqualityComparer<K> ^ keyComparer);
public static Microsoft.VisualStudio.Utilities.ObjectPool<Microsoft.VisualStudio.Utilities.PooledDictionary<K,V>> CreatePool (System.Collections.Generic.IEqualityComparer<K> keyComparer);
static member CreatePool : System.Collections.Generic.IEqualityComparer<'K> -> Microsoft.VisualStudio.Utilities.ObjectPool<Microsoft.VisualStudio.Utilities.PooledDictionary<'K, 'V>>
Public Shared Function CreatePool (keyComparer As IEqualityComparer(Of K)) As ObjectPool(Of PooledDictionary(Of K, V))
Parameters
- keyComparer
- IEqualityComparer<K>
Returns
ObjectPool<PooledDictionary<K,V>>