 | IStringJavaObjectCompareTo(String) Method |
Compares this instance with a specified
String object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified string.
Namespace: MASES.JCOBridge.C2JBridge.JVMInteropAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntaxint CompareTo(
string strB
)
Function CompareTo (
strB As String
) As Integer
Parameters
- strB String
- The string to compare with this instance.
Return Value
Int32A 32-bit signed integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the
strB parameter.Value Condition Less than zero This instance precedes
strB. Zero This instance has the same position in the sort order as
strB. Greater than zero This instance follows
strB.-or-
strB is null.
Exceptions
See Also