This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IH > IHookActions Interface > IHookActions.ActionSupportedOnMultiple Property (ArcObjects .NET 10.5 SDK) |
Indicates whether the specified action can be performed on the array of objects.
[Visual Basic .NET] Public Function get_ActionSupportedOnMultiple ( _ ByVal pArray As IArray, _ ByVal Action As esriHookActions _ ) As Boolean
[C#] public bool get_ActionSupportedOnMultiple ( IArray pArray, esriHookActions Action );
[C++]
HRESULT get_ActionSupportedOnMultiple(
IArray* pArray,
esriHookActions Action,
VARIANT_BOOL* pIsEnable
);
[C++]
Parameters pArray [in]
pArray is a parameter of type IArray Action [in]
Action is a parameter of type esriHookActions pIsEnable [out, retval] pIsEnable is a parameter of type VARIANT_BOOL
Indicates whether the specified Action is supported on the objects in the specified array. Use ActionSupportedOnMultiple before using the DoActionOnMultiple and DoActionWithNameOnMultiple methods.
pArray must contain objects implementing IEnvelope, IPoint, IPolygon or IPolyline and the geometry of each object in the array should not be empty.
In C# use the get_ActionSupportedOnMultiple method, as indexed property accessors are not supported.