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
‘선언
Public Overridable Function accHitTest ( _
xLeft As Integer, _
yTop As Integer _
) As Object
‘사용 방법
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
- 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
_CommandBarButton.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.