Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Compares one CompareTo to another with the given string comparison.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaration
Public Function CompareTo ( _
obj As Object, _
stringComparison As StringComparison _
) As Integer
'Usage
Dim instance As DropDownMember
Dim obj As Object
Dim stringComparison As StringComparison
Dim returnValue As Integer
returnValue = instance.CompareTo(obj, _
stringComparison)
public int CompareTo(
Object obj,
StringComparison stringComparison
)
public:
int CompareTo(
Object^ obj,
StringComparison stringComparison
)
member CompareTo :
obj:Object *
stringComparison:StringComparison -> int
public function CompareTo(
obj : Object,
stringComparison : StringComparison
) : int
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.