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.FindString (String, Int32)

Finds the first item after the given index which starts with the given string. The search is not case sensitive.

[Visual Basic]
Overloads Public Function FindString( _
   ByVal s As String, _
   ByVal startIndex As Integer _
) As Integer
[C#]
public int FindString(
   string s,
   int startIndex
);
[C++]
public: int FindString(
   String* s,
   int startIndex
);
[JScript]
public function FindString(
   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 starts with the given string, or-1 if no match was found.

See Also

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