EyeshotKeyedCollection<T>(IEnumerable<T>, IEqualityComparer<String>) Constructor

Initializes a new instance of the EyeshotKeyedCollection<T> class that uses the specified equality comparer from another IEnumerable<T> collection.
Protected Sub New( _ 
ByVal collection As IEnumerable(Of T), _ 
ByVal comparer As IEqualityComparer(Of String) _ 
)
This language is not supported or no code example is available.
protected EyeshotKeyedCollection( 
IEnumerable<T> collection
IEqualityComparer<string> comparer 
)
This language is not supported or no code example is available.

Parameters

collection
IEnumerable<T>

The base collection.

comparer
IEqualityComparer<string>

The implementation of the IEqualityComparer generic interface to use when comparing keys, or null to use the default equality comparer.

.NET Framework

Supported in: 4.8

In this article

Definition