This document is archived and information here might be outdated. Recommended version. |
Indicates whether the specified action can be performed on the object.
[Visual Basic .NET] Public Function get_ActionSupported ( _ ByVal pUnknown As Object, _ ByVal Action As esriHookActions _ ) As Boolean
[C#] public bool get_ActionSupported ( object pUnknown, esriHookActions Action );
[C++]
HRESULT get_ActionSupported(
LPUNKNOWN pUnknown,
esriHookActions Action,
Boolean* pIsEnable
);
[C++] Parameters pUnknown [in]
pUnknown is a parameter of type IUnknown Action [in]
Action is a parameter of type esriHookActions pIsEnable [out, retval]
pIsEnable is a parameter of type bool*
Indicates whether the specified Action is supported on the specified object. Use ActionSupported before using the DoAction and DoActionWithName methods.
pUnknown must be an object implementing IEnvelope, IPoint, IPolygon or IPolyline and the geometry should not be empty.
In C# use the get_ActionSupported method, as indexed property accessors are not supported.