CompareOrdinal Method
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

String.CompareOrdinal Method

Compares two String objects by evaluating the numeric values of the corresponding Char objects in each string.

Name Description
String.CompareOrdinal (String, String) Compares two specified String objects by evaluating the numeric values of the corresponding Char objects in each string.

Supported by the .NET Compact Framework.

String.CompareOrdinal (String, Int32, String, Int32, Int32) Compares substrings of two specified String objects by evaluating the numeric values of the corresponding Char objects in each substring.

Supported by the .NET Compact Framework.

Show:
© 2016 Microsoft