ReportExecutionService.FindString(Int32, Int32, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回指定字符串的下一个匹配项的逻辑页码。
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 标头用法 | (In) TrustedUserHeaderValue (In) ExecutionHeaderValue (Out) ServerInfoHeaderValue |
本机模式所需权限 | 无 |
SharePoint 模式所需权限 | 无 |
如果不存在快照,将返回错误。