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
數值,指出是否在搜尋中包含清單項目的子項目 (SubItem)。
- text
- String
要搜尋的項目文字。
- direction
- SearchDirectionHint
其中一個 SearchDirectionHint 值。
- startIndex
- Int32
要開始進行搜尋的 ListViewItem 索引。