ReportExecutionService.FindString(Int32, Int32, String) 方法

定義

回傳指定字串下一次出現的邏輯頁碼。

public:
 int FindString(int StartPage, int EndPage, System::String ^ FindValue);
public int FindString(int StartPage, int EndPage, string FindValue);
member this.FindString : int * int * string -> int
Public Function FindString (StartPage As Integer, EndPage As Integer, FindValue As String) As Integer

參數

StartPage
Int32

可以開始搜尋這個字串的頁面。 搜尋從 StartPage 開始,持續到文件末尾,然後重新開始並結束於 EndPage。 在快照的開頭設定為 0。

EndPage
Int32

那是停止搜尋字串的頁面。 設定 0 以停止於起始頁。

FindValue
String

要尋找的字串。

傳回

A Integer 包含該字串下一次出現的頁碼,若找不到字串則為 0。

備註

下表顯示此操作的標頭與權限資訊。

SOAP 標頭的使用 (在) TrustedUserHeaderValue

(在) ExecutionHeaderValue

(出局) ServerInfoHeaderValue
原生模式所需權限 None
SharePoint 模式 必要權限 None

若無快照,則會回傳錯誤。

適用於