Insert.2 |
Scroll |
Creates a new TheMenu with the specified Text and ID and inserts it at the specified position in the current menu.
Namespace: Therefore.API
Visual Basic Public Overridable Function Insert ( _ nIndex As Integer, _ strText As String, _ nID As Integer _ ) C# public virtual void Insert ( int nIndex, string strText, int nID )
ParametersnIndex Zero-based index at which to insert the menu. strText Menu text. nID Menu ID.
Return ValueNone. |
Adding Nothing If Nothing (VB), null (C#) or their equivalent in another language is used as parameter for this method, the method call is ignored. No null-entry is added to the list, the size remains the same and no exception is thrown. |