GetMenuItems Method (IApplication)

GetMenuItems Method (IApplication) | Send Feedback
See Also

MenuItemArray[out]
  Array of menu items

UiState
  Where to get the menu items as defined in dsUIState_e

Gets menu items.

# Syntax

Visual Basic |
--- | ---
    Function GetMenuItems( _
       ByVal UiState As dsUIState_e _
    ) As System.Object

C# |
--- | ---
    System.object GetMenuItems(
       dsUIState_e UiState
    )

JavaScript |
--- | ---
    GetMenuItems(
       UiState : String
    ) : Array

COM native C++ |
--- | ---
    HRESULT GetMenuItems(
       dsUIState_e UiState,
       VARIANT* MenuItemArray
    )

C++ |
--- | ---
    DSRESULT GetMenuItems(
       dsUIState_e UiState,
       dsObjectPtrArray* MenuItemArray
    )

#### Parameters

UiState
  Where to get the menu items as defined in dsUIState_e
MenuItemArray[out] or Return Value
  Array of menu items

# See Also

####

IApplication Interface
IApplication Members
IApplication::AddMenu Method

# Availability

DraftSight V1R1