ListViewGroupCollection.RemoveAt(Int32) Method
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 ListViewGroup at the specified index within the collection.
public:
virtual void RemoveAt(int index);
public void RemoveAt (int index);
abstract member RemoveAt : int -> unit
override this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)
- index
- Int32
The index within the collection of the ListViewGroup to remove.
Use this method to remove a group from the collection when you have the index of the group within the collection. Note that removing groups from the ListView.Groups collection does not remove items from the ListView control.
To remove a group using a reference to the object, use the Remove method instead. To remove all the groups from the collection, use the Clear method. When you remove an item from the collection, the indexes change for subsequent items in the collection. All information about the removed item is deleted.
제품 | 버전 |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.