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)

Finds the first item in the combo box that starts with the given string. The search is not case sensitive.

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

Parameters

s
The string to search for.

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