Compare()
IComparer::Compare(const SharedPtr<Object>&, const SharedPtr<Object>&) const method
Comparison function.
virtual int System::Collections::IComparer::Compare(const SharedPtr<Object> &x, const SharedPtr<Object> &y) const =0
Arguments
| Parameter | Type | Description |
|---|---|---|
| x | const SharedPtr<Object>& | First object to compare. |
| y | const SharedPtr<Object>& | Second object to compare. |
Return Value
Negative value if x is less than y; zero if they are equal; positive value if x is greater than y.
See Also
- Typedef SharedPtr
- Class Object
- Class IComparer
- Namespace System::Collections
- Library Aspose.Slides