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!

ListBox.FindStringExact (String)

Finds the first item in the list box that matches the given string. The strings must match exactly, except for differences in casing.

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

Parameters

s
The string to search for.

Return Value

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

See Also

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