Compartir a través de


SearchForVirtualItemEventArgs Constructor

Definición

Inicializa una nueva instancia de la clase 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)

Parámetros

isTextSearch
Boolean

Valor que indica si la búsqueda es una búsqueda de texto.

isPrefixSearch
Boolean

Valor que indica si la búsqueda es una búsqueda de prefijo.

includeSubItemsInSearch
Boolean

Valor que indica si hay que incluir subelementos de elementos de lista en la búsqueda.

text
String

Texto del elemento que se va a buscar.

startingPoint
Point

Point donde va a comenzar la búsqueda.

direction
SearchDirectionHint

Uno de los valores de SearchDirectionHint.

startIndex
Int32

Índice del control ListViewItem en el que se va a iniciar la búsqueda.

Se aplica a