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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.