[This is preliminary documentation and is subject to change.]
Creates a new MenuItemInfo object and adds to a newly created menulist and establishes the link
between the Parent MenuItemInfo object.
Namespace:
OfficeClip.BusinessLayer.OfficePortal.CorpMenuAssembly: OfficeClip.BusinessLayer (in OfficeClip.BusinessLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public int add( MenuItemInfo parentMenuItem, int currentListIndex, string screenName, string fileName, string url ) |
Visual Basic (Declaration) |
---|
Public Function add ( _ parentMenuItem As MenuItemInfo, _ currentListIndex As Integer, _ screenName As String, _ fileName As String, _ url As String _ ) As Integer |
Visual C++ |
---|
public: int add( MenuItemInfo^ parentMenuItem, int currentListIndex, String^ screenName, String^ fileName, String^ url ) |
Parameters
- parentMenuItem
- Type: OfficeClip.BusinessLayer.OfficePortal.CorpMenu..::.MenuItemInfo
The Parent menuitem under which a new menulist is being added.
- currentListIndex
- Type: System..::.Int32
The list index of the menulist in which the Parent MenuItemInfo object belongs.
- screenName
- Type: System..::.String
The Title of the new menuitem to be created in the Child menulist
- fileName
- Type: System..::.String
The file name of the html file to be mapped to the new menuitem.
- url
- Type: System..::.String
The url link to be mapped to the new menuitem.