ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.5.2 Assembly / C1.Win.C1Command Namespace / RadialMenuItemCollection Class / Add Method / Add(Object) Method
The object to be added to the end of the RadialMenuItemCollection.

In This Topic
    Add(Object) Method
    In This Topic
    Adds an object to the end of the RadialMenuItemCollection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal value As System.Object _
    ) As System.Integer
    public System.int Add( 
       System.object value
    )

    Parameters

    value
    The object to be added to the end of the RadialMenuItemCollection.

    Return Value

    The index of last element in collection if value is not null; -1 otherwise.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also