ListViewGroupCollection.IList.Add(Object) 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.
Adds a new ListViewGroup to the ListViewGroupCollection.
virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
int IList.Add (object? value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (value As Object) As Integer Implements IList.Add
Parameters
- value
- Object
The ListViewGroup to add to the ListViewGroupCollection.
Returns
The index at which the ListViewGroup has been added.
Implements
Exceptions
value
is not a ListViewGroup.
-or-
value
contains at least one ListViewItem that belongs to a ListView control other than the one that owns this ListViewGroupCollection.
Applies to
Arbeiten Sie mit uns auf GitHub zusammen
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.