共用方式為


_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

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

See Also

Reference

_CommandBarButton Interface

_CommandBarButton Members

Microsoft.VisualStudio.CommandBars Namespace