ListViewItem.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the item from its associated ListView control.
public:
virtual void Remove();
public virtual void Remove ();
abstract member Remove : unit -> unit
override this.Remove : unit -> unit
Public Overridable Sub Remove ()
Remarks
This method is similar in function to the Remove method of the ListView.ListViewItemCollection in the ListView control that contains the item. You can use the Remove method to remove an item from its ListView control. This feature can be useful if you want to move the item to a different ListView control or need to remove the item based on a request from the user to remove the item from within your application.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應