This document is archived and information here might be outdated.  Recommended version.


IHookActions.ActionSupportedOnMultiple Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

IHookActions.ActionSupportedOnMultiple Property

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,
  Boolean* 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 bool*

Product Availability

Available with ArcGIS Engine.

Description

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.

[C#]

In C# use the get_ActionSupportedOnMultiple method, as indexed property accessors are not supported.

See Also

IHookActions Interface