DropDownMember::CompareTo Method (Object^)
Visual Studio 2015
Compares this object to the specified object.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- obj
-
Type:
System::Object^
[in] The DropDownMember object to compare to.
Return Value
Type: System::Int321 if this object is greater than the specified object, 0 if this object equals the specified object, -1 if this object is less than the specified object.
Implements
IComparable::CompareTo(Object^)This method is an implementation of the CompareTo method on the IComparable interface.
The base method compares the labels of this object and the specified object but only if the specified object is a DropDownMember object. The result of the comparison is returned.
Show: