Searches for the specified strings pair in the collection.

Namespace:  C1.Win.C1Spell
Assembly:  C1.Win.C1Spell.2 (in C1.Win.C1Spell.2.dll)

Syntax

C#
public int IndexOf(
	string str1,
	string str2
)
Visual Basic (Declaration)
Public Function IndexOf ( _
	str1 As String, _
	str2 As String _
) As Integer

Parameters

str1
Type: System..::.String
First string.
str2
Type: System..::.String
Second string.

Return Value

The index of the occurrence of string pair within the collection, if found. Otherwise -1.

Remarks

String comparsions are case-insensitive.

See Also