DesignerActionItemCollection::Add Method (DesignerActionItem^)
.NET Framework (current version)
Adds the supplied DesignerActionItem to the current collection.
Assembly: System.Design (in System.Design.dll)
Parameters
- value
-
Type:
System.ComponentModel.Design::DesignerActionItem^
The DesignerActionItem to add.
Return Value
Type: System::Int32The DesignerActionItemCollection index at which the value has been added.
The following code example demonstrates how to create a DesignerActionItemCollection and populate it to form a smart tag list. This code example is part of a larger example provided for the DesignerActionItem class.
.NET Framework
Available since 2.0
Available since 2.0
Show: