ReportViewer.Find 方法 (String, Int32)
發佈時間: 2016年4月
搜尋報表中的指定文字字串。
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)
語法
public int Find(
string searchString,
int startPage
)
public:
int Find(
String^ searchString,
int startPage
)
member Find :
searchString:string *
startPage:int -> int
Public Function Find (
searchString As String,
startPage As Integer
) As Integer
參數
- searchString
搜尋字串。
- startPage
開始搜尋的頁碼。
傳回值
Type: System.Int32
包含找到搜尋字串之頁碼的 integer 值,如果找不到搜尋字串,便傳回 0。
請參閱
ReportViewer 類別
Microsoft.Reporting.WinForms 命名空間
回到頁首