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

'Declaration
Public Overridable Function accHitTest ( _
    xLeft As Integer, _
    yTop As Integer _
) As Object
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

  • xLeft
    Type: Int32

    The x coordinate.

  • yTop
    Type: Int32

    The y coordinate.

Return Value

Type: 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

Microsoft.VisualStudio.CommandBars Namespace