SearchEventArgs Class

 

Provides data for a Search event in the ReportViewer control.

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

Inheritance Hierarchy

System.Object
  System.EventArgs
    System.ComponentModel.CancelEventArgs
      Microsoft.Reporting.WinForms.SearchEventArgs

Syntax

[ComVisibleAttribute(false)]
public sealed class SearchEventArgs : CancelEventArgs
[ComVisibleAttribute(false)]
public ref class SearchEventArgs sealed : CancelEventArgs
[<Sealed>]
[<ComVisibleAttribute(false)>]
type SearchEventArgs = 
    class
        inherit CancelEventArgs
    end
<ComVisibleAttribute(False)>
Public NotInheritable Class SearchEventArgs
    Inherits CancelEventArgs

Constructors

Name Description
System_CAPS_pubmethod SearchEventArgs(String, Int32, Boolean)

Constructs a SearchEventArgs object.

Properties

Name Description
System_CAPS_pubproperty Cancel

(Inherited from CancelEventArgs.)

System_CAPS_pubproperty IsFindNext

Indicates that this event is occurring as a result of a Find Next command.

System_CAPS_pubproperty SearchString

Returns the search string being used for the search.

System_CAPS_pubproperty StartPage

Returns the page number on which to start searching.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

This is passed to the SearchEventHandler delegate when a Find event occurs.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Reporting.WinForms Namespace

Return to top