ListCollectionView.IComparer.Compare(Object, Object) 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.
This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
virtual int System.Collections.IComparer.Compare(System::Object ^ o1, System::Object ^ o2) = System::Collections::IComparer::Compare;
int IComparer.Compare (object o1, object o2);
abstract member System.Collections.IComparer.Compare : obj * obj -> int
override this.System.Collections.IComparer.Compare : obj * obj -> int
Function Compare (o1 As Object, o2 As Object) As Integer Implements IComparer.Compare
Parameters
- o1
- Object
The first object to compare.
- o2
- Object
The second object to compare.
Returns
A value that is less than zero means o1
is less than o2;
a value of zero means the objects are equal; and a value that is over zero means o1
is greater than o2
.
Implements
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.