Input for WinForms
HitTest メソッド (ElementAccessibleObject)

C1.Win.8 アセンブリ > C1.Framework.Accessibility 名前空間 > ElementAccessibleObject クラス : HitTest メソッド
The horizontal screen coordinate.
The vertical screen coordinate.
Retrieves the child object at the specified screen coordinates.
シンタックス
'宣言
 
Public Overrides Function HitTest( _
   ByVal x As System.Integer, _
   ByVal y As System.Integer _
) As System.Windows.Forms.AccessibleObject
public override System.Windows.Forms.AccessibleObject HitTest( 
   System.int x,
   System.int y
)

パラメータ

x
The horizontal screen coordinate.
y
The vertical screen coordinate.

戻り値の型

An System.Windows.Forms.AccessibleObject that represents the child object at the given screen coordinates. This method returns the calling object if the object itself is at the location specified. Returns null 参照 (Visual Basicでは Nothing) if no object is at the tested location.
例外
例外解説
The control cannot be hit tested.
参照

ElementAccessibleObject クラス
ElementAccessibleObject メンバ