This document is archived and information here might be outdated. Recommended version. |
Perform the action on the array of objects.
[Visual Basic .NET] Public Sub DoActionOnMultiple ( _ ByVal pArray As IArray, _ ByVal Action As esriHookActions _ )
[C#] public void DoActionOnMultiple ( IArray pArray, esriHookActions Action );
[C++]
HRESULT DoActionOnMultiple(
IArray* pArray,
esriHookActions Action
);
[C++] Parameters pArray [in]
pArray is a parameter of type IArray* Action [in]
Action is a parameter of type esriHookActions
DoActionOnMultiple performs the specified Action on the objects in the specified array in the ActiveView. For example, pass esriHookActionsZoom to zoom to the extent of the specified objects. Use the ActionSupportedOnMultiple method before DoActionOnMultiple 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.