Share via


ReportViewer.Find Method (String, Int32)

 

Searches the report for the specified text string.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

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

Parameters

  • startPage
    Type: System.Int32

    The page number on which to start searching.

Return Value

Type: System.Int32

An integer value containing the page number on which the search string was found, or 0 if the search string was not found.

See Also

ReportViewer Class
Microsoft.Reporting.WinForms Namespace

Return to top