Condividi tramite


CommandBarButtonClass.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

'Dichiarazione
Public Overridable Function accHitTest ( _
    xLeft As Integer, _
    yTop As Integer _
) As Object
'Utilizzo
Dim instance As CommandBarButtonClass
Dim xLeft As Integer
Dim yTop As Integer
Dim returnValue As Object

returnValue = instance.accHitTest(xLeft, _
    yTop)
public virtual Object accHitTest(
    int xLeft,
    int yTop
)
public:
virtual Object^ accHitTest(
    [InAttribute] int xLeft, 
    [InAttribute] int yTop
)
abstract accHitTest : 
        xLeft:int * 
        yTop:int -> Object 
override accHitTest : 
        xLeft:int * 
        yTop:int -> Object 
public function accHitTest(
    xLeft : int, 
    yTop : int
) : Object

Parameters

Return Value

Type: System.Object
The object. This method is deprecated.

Implements

_CommandBarButton.accHitTest(Int32, Int32)

Remarks

This method throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace