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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.