set_Comparator()

ComparerAdapter::set_Comparator(const SharedPtr<IComparer<T>>&) method

Sets comparator object.

void System::Collections::Generic::ComparerAdapter<T>::set_Comparator(const SharedPtr<IComparer<T>> &comparator)

Arguments

ParameterTypeDescription
comparatorconst SharedPtr<IComparer<T>>&Comparator to use.

See Also