Perform the action on the array of objects using the array of names.
ERROR: Syntax information about IHookActions.DoActionWithNameOnMultiple may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.Controls.dll
[C++]
HRESULT DoActionWithNameOnMultiple(
IArray* pArray,
IStringArray* pNamesArray,
esriHookActions Action
);
[C++]Parameters
pArray [in]pArray is a parameter of type IArray
pNamesArray [in]pNamesArray is a parameter of type IStringArray
Action [in]Action is a parameter of type esriHookActions
Product Availability
Description
DoActionWithNameOnMultiple performs the specified Action on the objects in the specified array in the ActiveView. For example, pass esriHookActionsLabel to label the specified objects with the specfied labels. Use the ActionSupportedOnMultiple method before DoActionWithNameOnMultiple is ensure the specified Action is supported.
pArray must contain objects implementing IEnvelope, IPoint, IPolygon or IPolyline and the geometry of each object should not be empty.
pNamesArray is an array of strings used by esriHookActionsLabel and esriHookActionsCallout actions.
Ensure pArray and pNamesArray contain the same number of elements.