ReportExecutionService.FindString メソッド
指定した文字列が次に出現する箇所の論理ページ番号を返します。
名前空間: ReportExecution2005
アセンブリ: ReportExecution2005 (ReportExecution2005.dll)
構文
'宣言
Public Function FindString ( _
StartPage As Integer, _
EndPage As Integer, _
FindValue As String _
) As Integer
'使用
Dim instance As ReportExecutionService
Dim StartPage As Integer
Dim EndPage As Integer
Dim FindValue As String
Dim returnValue As Integer
returnValue = instance.FindString(StartPage, _
EndPage, FindValue)
public int FindString(
int StartPage,
int EndPage,
string FindValue
)
public:
int FindString(
int StartPage,
int EndPage,
String^ FindValue
)
member FindString :
StartPage:int *
EndPage:int *
FindValue:string -> int
public function FindString(
StartPage : int,
EndPage : int,
FindValue : String
) : int
パラメーター
- StartPage
型: System.Int32
文字列の検索を開始するページです。 検索は StartPage から開始し、やり直したり、EndPage で終了したりするまでは、ドキュメントの末尾まで継続します。 スナップショットの先頭から開始するには 0 を指定します。
- EndPage
型: System.Int32
文字列の検索を停止するページです。 開始ページで停止するには 0 を指定します。
- FindValue
型: System.String
検索する文字列です。
戻り値
型: System.Int32
文字列が次に出現するページのページ番号を示す Integer 値です。文字列が見つからない場合は 0 になります。
説明
次の表に、この操作に関連するヘッダーおよび権限の情報を示します。
SOAP ヘッダーの使用方法 |
(In) ExecutionHeaderValue (Out) ServerInfoHeaderValue |
ネイティブ モードで必要な権限 |
なし |
SharePoint モードで必要な権限 |
なし |
スナップショットが存在しない場合、エラーが返されます。