SearchForVirtualItemEventArgs Constructeur

Définition

Initialise une nouvelle instance de la classe SearchForVirtualItemEventArgs.

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)

Paramètres

isTextSearch
Boolean

Valeur indiquant si la recherche est une recherche de texte.

isPrefixSearch
Boolean

Valeur indiquant si la recherche est une recherche de préfixe.

includeSubItemsInSearch
Boolean

Valeur indiquant l'inclusion ou non de sous-éléments d'éléments de liste dans la recherche.

text
String

Texte de l'élément à rechercher.

startingPoint
Point

Point à partir duquel commencer la recherche.

direction
SearchDirectionHint

Une des valeurs de l'objet SearchDirectionHint.

startIndex
Int32

Index de ListViewItem à partir duquel commencer la recherche.

S’applique à