SearchForVirtualItemEventArgs Konstruktor
Definicja
Ważny
Niektóre informacje dotyczą produktów przedpremierowych, które mogą zostać znacznie zmodyfikowane przed premierą. Microsoft nie udziela żadnych gwarancji, ani wyraźnych, ani domniemanych, dotyczących informacji podanych tutaj.
Inicjuje nowe wystąpienie klasy 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)
Parametry
- isTextSearch
- Boolean
Wartość wskazująca, czy wyszukiwanie jest wyszukiwaniem tekstowym.
- isPrefixSearch
- Boolean
Wartość wskazująca, czy wyszukiwanie jest wyszukiwaniem prefiksu.
- includeSubItemsInSearch
- Boolean
Wartość wskazująca, czy w wyszukiwaniu mają być uwzględniane subitemy elementów listy.
- text
- String
Tekst elementu do wyszukania.
- direction
- SearchDirectionHint
Jedna z SearchDirectionHint wartości.
- startIndex
- Int32
Indeks, ListViewItem na którym ma rozpocząć wyszukiwanie.