XlsRange
FindFirst Method (String, FindType)
|
Finds the first occurrence of a specified string value in the worksheet within the current area.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
protected IXLSRange FindFirst(
string findValue,
FindType flags
)
Protected Function FindFirst (
findValue As String,
flags As FindType
) As IXLSRange
protected:
IXLSRange^ FindFirst(
String^ findValue,
FindType flags
)
member FindFirst :
findValue : string *
flags : FindType -> IXLSRange
Parameters
-
findValue
-
Type:
System
String
The string value to find.
-
flags
-
Type:
Spire.Xls
FindType
The find options to use.
Return Value
Type:
IXLSRange
The range containing the first occurrence of the specified string value, or null if the value is not found.
See Also