IList<TValue>.unique Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes adjacent elements that pass a specified test.
public:
void unique(Microsoft::VisualC::StlClr::BinaryDelegate<TValue, TValue, bool> ^ _Pred);
public void unique (Microsoft.VisualC.StlClr.BinaryDelegate<TValue,TValue,bool> _Pred);
abstract member unique : Microsoft.VisualC.StlClr.BinaryDelegate<'Value, 'Value, bool> -> unit
Public Sub unique (_Pred As BinaryDelegate(Of TValue, TValue, Boolean))
Parameters
- _Pred
- BinaryDelegate<TValue,TValue,Boolean>
The comparer that determines whether element pairs are unique. An element that is not unique will be removed from the container.
Remarks
For more information, see list::unique (STL/CLR).
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.