Returns the IEqualityComparer<T> used to compare items in this bag.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic IEqualityComparer<T> Comparer { get; }
public:
property IEqualityComparer<T>^ Comparer {
IEqualityComparer<T>^ get ();
}
Property Value
Type:
IEqualityComparerTIf the bag was created using a comparer, that comparer is returned. Otherwise
the default comparer for T (EqualityComparer<T>.Default) is returned.
See Also