DropDownMember::CompareTo Method (Object^, StringComparison)

 

Compares one CompareTo to another with the given string comparison.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
int CompareTo(
	Object^ obj,
	StringComparison stringComparison
)

Parameters

obj
Type: System::Object^

The object to which to do the comparison.

stringComparison
Type: System::StringComparison

StringComparison.

Return Value

Type: System::Int32

If obj is a DropDownMember, the return value of a string comparison of the two; otherwise -1.

Return to top
Show: