SearchForVirtualItemEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
要搜索的项的文本。
- direction
- SearchDirectionHint
SearchDirectionHint 值之一。
- startIndex
- Int32
要在其处开始搜索的 ListViewItem 的索引。