Editare

Partajați prin


SearchForVirtualItemEventArgs Constructor

Definition

Initializes a new instance of the SearchForVirtualItemEventArgs class.

public:
 SearchForVirtualItemEventArgs(bool isTextSearch, bool isPrefixSearch, bool includeSubItemsInSearch, System::String ^ text, System::Drawing::Point startingPoint, System::Windows::Forms::SearchDirectionHint direction, int startIndex);
public SearchForVirtualItemEventArgs (bool isTextSearch, bool isPrefixSearch, bool includeSubItemsInSearch, string text, System.Drawing.Point startingPoint, System.Windows.Forms.SearchDirectionHint direction, int startIndex);
public SearchForVirtualItemEventArgs (bool isTextSearch, bool isPrefixSearch, bool includeSubItemsInSearch, string? text, System.Drawing.Point startingPoint, System.Windows.Forms.SearchDirectionHint direction, int startIndex);
new System.Windows.Forms.SearchForVirtualItemEventArgs : bool * bool * bool * string * System.Drawing.Point * System.Windows.Forms.SearchDirectionHint * int -> System.Windows.Forms.SearchForVirtualItemEventArgs
Public Sub New (isTextSearch As Boolean, isPrefixSearch As Boolean, includeSubItemsInSearch As Boolean, text As String, startingPoint As Point, direction As SearchDirectionHint, startIndex As Integer)

Parameters

isTextSearch
Boolean

A value indicating whether the search is a text search.

isPrefixSearch
Boolean

A value indicating whether the search is a prefix search.

includeSubItemsInSearch
Boolean

A value indicating whether to include subitems of list items in the search.

text
String

The text of the item to search for.

startingPoint
Point

The Point at which to start the search.

direction
SearchDirectionHint

One of the SearchDirectionHint values.

startIndex
Int32

The index of the ListViewItem at which to start the search.

Applies to