NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ComboBox.FindStringExact (String, Int32)

Finds the first item after the given index that matches the given string. The strings must match excatly, except for differences in casing.

[Visual Basic]
Overloads Public Function FindStringExact( _
   ByVal s As String, _
   ByVal startIndex As Integer _
) As Integer
[C#]
public int FindStringExact(
   string s,
   int startIndex
);
[C++]
public: int FindStringExact(
   String* s,
   int startIndex
);
[JScript]
public function FindStringExact(
   s : String,
   startIndex : int
) : int;

Parameters

s
The string to search for.
startIndex
The index of the item to start after.

Return Value

The index of the first item that matches the given string, or-1 if no match was found.

See Also

ComboBox Class | ComboBox Members | System.WinForms Namespace | ComboBox.FindStringExact Overload List