Επεξεργασία

Κοινή χρήση μέσω


AccessibleObject.IAccessible.accHitTest(Int32, Int32) Method

Definition

Gets the child object at the specified screen coordinates. For a description of this member, see accHitTest(Int32, Int32).

 virtual System::Object ^ Accessibility.IAccessible.accHitTest(int xLeft, int yTop) = Accessibility::IAccessible::accHitTest;
object IAccessible.accHitTest (int xLeft, int yTop);
object? IAccessible.accHitTest (int xLeft, int yTop);
abstract member Accessibility.IAccessible.accHitTest : int * int -> obj
override this.Accessibility.IAccessible.accHitTest : int * int -> obj
Function accHitTest (xLeft As Integer, yTop As Integer) As Object Implements IAccessible.accHitTest

Parameters

xLeft
Int32

The horizontal coordinate.

yTop
Int32

The vertical coordinate.

Returns

The accessible object at the point specified by xLeft and yTop.

Implements

Remarks

The following table describes the object types that the IAccessible.accHitTest method can return.

Type Description
IAccessible The accessible object at the specified direction.
integer 0 if the point specified is either the current object or outside the object's boundaries; otherwise, the child ID that identifies the accessible object at the specified direction.

This member is an explicit interface member implementation. It can be used only when the AccessibleObject instance is cast to an IAccessible interface.

Applies to