言語

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

検索する文字列。

返品

文字列の次に出現するページ番号を含む Integer 、文字列が見つからない場合は0となります。

注釈

以下の表は、この操作のヘッダーおよび権限情報を示しています。

SOAPヘッダーの使用 (イン) TrustedUserHeaderValue

(イン) ExecutionHeaderValue

(アウト) ServerInfoHeaderValue
ネイティブモードの必要権限 None
SharePointモードの必要権限 None

スナップショットが存在しない場合はエラーが返されます。

適用対象