GetContextMenuItems Method (IApplication)

GetContextMenuItems Method (IApplication) | Send Feedback
See Also

ContextMenuItemArray[out]
  Array of context-sensitive menu items

Gets the top-level context-sensitive menu items added by IApplication::AddCommandContextMenu, IApplication::AddDefaultContextMenu, and IApplication::AddObjectContextMenu.

# Syntax

Visual Basic |
--- | ---
    Function GetContextMenuItems() As System.Object

C# |
--- | ---
    System.object GetContextMenuItems()

JavaScript |
--- | ---
    GetContextMenuItems() : Array

COM native C++ |
--- | ---
    HRESULT GetContextMenuItems(
       VARIANT* ContextMenuItemArray
    )

C++ |
--- | ---
    DSRESULT GetContextMenuItems(
       dsObjectPtrArray* ContextMenuItemArray
    )

#### Parameters

ContextMenuItemArray[out] or Return Value
  Array of context-sensitive menu items

# See Also

####

IApplication Interface
IApplication Members
IContextMenuItem::Remove Method ()
IContextMenuItem::GetMenuItems Method ()
IContextMenuItem::Enabled Property ()

# Availability

DraftSight V1R5.0