共用方式為


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

數值,指出是否在搜尋中包含清單項目的子項目 (SubItem)。

text
String

要搜尋的項目文字。

startingPoint
Point

要從其開始搜尋的 Point

direction
SearchDirectionHint

其中一個 SearchDirectionHint 值。

startIndex
Int32

要開始進行搜尋的 ListViewItem 索引。

適用於