TreeNodeCollection.IList.Add(Object) 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.
Adds an object to the end of the tree node collection.
virtual int System.Collections.IList.Add(System::Object ^ node) = System::Collections::IList::Add;
int IList.Add(object node);
int IList.Add(object? node);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (node As Object) As Integer Implements IList.Add
- node
- Object
The object to add to the tree node collection.
The zero-based index value of the TreeNode that was added to the tree node collection.
node
is null
.
If node
is not a TreeNodeCollection, the IList.Add method will use the string returned by the ToString method of the TreeNode class.
Product | Versions |
---|---|
.NET Framework | 1.1, 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 feedback
.NET is an open source project. Select a link to provide feedback: