ReadOnlyObservableSet<T> Constructor (IEqualityComparer<T>^)

 

Initializes a new instance of the ReadOnlyObservableSet<T> class that is empty and uses the specified equality comparer for the set type..

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

protected:
ReadOnlyObservableSet(
	IEqualityComparer<T>^ comparer = null
)

Parameters

comparer
Type: System.Collections.Generic::IEqualityComparer<T>^

The implementation to use when comparing values in the set, or null to use the default EqualityComparer implementation for the set type.

Return to top
Show: