SearchForVirtualItemEventArgs(Boolean, Boolean, Boolean, String, Point, SearchDirectionHint, Int32) Конструктор
Определение
Инициализирует новый экземпляр класса SearchForVirtualItemEventArgs.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);
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)
Параметры
- 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
Объект Point, с которого следует начать поиск.The Point at which to start the search.
- direction
- SearchDirectionHint
Одно из значений SearchDirectionHint.One of the SearchDirectionHint values.
- startIndex
- Int32
Индекс элемента ListViewItem, с которого требуется начать поиск.The index of the ListViewItem at which to start the search.