String..::..Compare Method (String, String)
Compares two specified String objects and returns an integer that indicates their relative position in the sort order.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static int Compare( string strA, string strB )
<TemplateAttribute> _ Public Shared Function Compare ( _ strA As String, _ strB As String _ ) As Integer
[TemplateAttribute] public: static int^ Compare( String^ strA, String^ strB )
Parameters
- strA
- Type: System..::..String
The first string to compare.
- strB
- Type: System..::..String
The second string to compare.