Partager via


PooledHashSet<T>.CreatePool(IEqualityComparer<T>) Method

Definition

public:
 static Microsoft::VisualStudio::Utilities::ObjectPool<Microsoft::VisualStudio::Utilities::PooledHashSet<T> ^> ^ CreatePool(System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public static Microsoft.VisualStudio.Utilities.ObjectPool<Microsoft.VisualStudio.Utilities.PooledHashSet<T>> CreatePool (System.Collections.Generic.IEqualityComparer<T> equalityComparer);
static member CreatePool : System.Collections.Generic.IEqualityComparer<'T> -> Microsoft.VisualStudio.Utilities.ObjectPool<Microsoft.VisualStudio.Utilities.PooledHashSet<'T>>
Public Shared Function CreatePool (equalityComparer As IEqualityComparer(Of T)) As ObjectPool(Of PooledHashSet(Of T))

Parameters

equalityComparer
IEqualityComparer<T>

Returns

Applies to