Udostępnij za pośrednictwem


Metoda ReportViewer.Find —

Searches the report for the specified text string.

Przestrzeń nazw:  Microsoft.Reporting.WinForms
Zestaw:  Microsoft.ReportViewer.WinForms (w Microsoft.ReportViewer.WinForms.dll)

Składnia

'Deklaracja
Public Function Find ( _
    searchString As String, _
    startPage As Integer _
) As Integer
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 : String, 
    startPage : int
) : int

Parametry

  • searchString
    Typ: String
    The search string.
  • startPage
    Typ: Int32
    The page number on which to start searching.

Wartość zwracana

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

Zobacz też

Informacje

ReportViewer Klasa

Przestrzeń nazw Microsoft.Reporting.WinForms