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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈