[This is preliminary documentation and is subject to change.]

Creates and adds a new MenuItemInfo object to the menulist with Index value of lstIndex.

Namespace:  OfficeClip.BusinessLayer.OfficePortal.CorpMenu
Assembly:  OfficeClip.BusinessLayer (in OfficeClip.BusinessLayer)
Version: 8.1.1.0

Syntax

C#
public int add(
	int lstIndex,
	string screenName,
	string fileName,
	string url
)
Visual Basic (Declaration)
Public Function add ( _
	lstIndex As Integer, _
	screenName As String, _
	fileName As String, _
	url As String _
) As Integer
Visual C++
public:
int add(
	int lstIndex, 
	String^ screenName, 
	String^ fileName, 
	String^ url
)

Parameters

lstIndex
Type: System..::.Int32
The Index of the menulist to which the new MenuItemInfo object has to be added.
screenName
Type: System..::.String
The Title of the new menuitem.
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.

Return Value

The Index of the newly created menuitem.

See Also