_CommandBarButton.accHitTest Method
Gets the object at the specified coordinates. This method is deprecated.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'宣告
Function accHitTest ( _
xLeft As Integer, _
yTop As Integer _
) As Object
'用途
Dim instance As _CommandBarButton
Dim xLeft As Integer
Dim yTop As Integer
Dim returnValue As Object
returnValue = instance.accHitTest(xLeft, _
yTop)
Object accHitTest(
int xLeft,
int yTop
)
Object^ accHitTest(
[InAttribute] int xLeft,
[InAttribute] int yTop
)
abstract accHitTest :
xLeft:int *
yTop:int -> Object
function accHitTest(
xLeft : int,
yTop : int
) : Object
Parameters
- xLeft
Type: System.Int32
The x coordinate.
- yTop
Type: System.Int32
The y coordinate.
Return Value
Type: System.Object
The object. This method is deprecated.
Implements
CommandBarControl.accHitTest(Int32, Int32)
Remarks
This method throws a DeprecatedException when called.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.