SearchForVirtualItemEventArgs 构造函数

定义

初始化 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)

参数

isTextSearch
Boolean

指示搜索是否为文本搜索的值。

isPrefixSearch
Boolean

指示搜索是否为前缀搜索的值。

includeSubItemsInSearch
Boolean

指示是否在搜索中包括列表项的子项的值。

text
String

要搜索的项的文本。

startingPoint
Point

从其上开始搜索的 Point

direction
SearchDirectionHint

SearchDirectionHint 值之一。

startIndex
Int32

要在其处开始搜索的 ListViewItem 的索引。

适用于