Returns true if the <TypeInformation> of every item in the selection matches the <TypeInformation> objects contained in the <TypeInfoArray> submitted to this function. You can specify whether to use exact matches or subclass matches.
static int32 IsAnyTypeSelected( CommandPresentationModuleInfo p_oInfo, TypeInfoArray p_poTypes, int32 p_nCount, int32 p_bMatch, string p_sHint )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<CommandPresentationModuleInfo> | p_oInfo | A pointer to the <CommandPresentationModuleInfo> object that is managing command display for the application. |
<TypeInfoArray> | p_poTypes | A pointer to a <TypeInfoArray> that contains the set of types to test the selection against. |
int32 | p_nCount | The number of items that must be selected. Use -1 to allow any number of selected items. |
int32 | p_bMatch | The type of the selected <Node> object must match exactly if true. Otherwise a subclass is considered a valid match. |
string | p_sHint | The hint text to display in the status bar, for both success and failure cases. This hint will be displayed in the UI status bar at the lower left corner of the application. |
None published. Please look for an example in the Scenome Scripting Language code base.