Reflection
Remove Method (IContextMenus)


The descriptive name of the menu to remove
Removes a context menu from this session document
Syntax
'Declaration
 
Function Remove( _
   ByVal name As String _
) As Boolean
'Usage
 
Dim instance As IContextMenus
Dim name As String
Dim value As Boolean
 
value = instance.Remove(name)
bool Remove( 
   string name
)

Parameters

name
The descriptive name of the menu to remove

Return Value

True if the remove was successful, false if the menu name could not be found or an error occurred
See Also