CommandBarButtonClass.accLocation Method
Gets the location of the control. This method is deprecated.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'宣告
Public Overridable Sub accLocation ( _
<OutAttribute> ByRef pxLeft As Integer, _
<OutAttribute> ByRef pyTop As Integer, _
<OutAttribute> ByRef pcxWidth As Integer, _
<OutAttribute> ByRef pcyHeight As Integer, _
varChild As Object _
)
public virtual void accLocation(
out int pxLeft,
out int pyTop,
out int pcxWidth,
out int pcyHeight,
Object varChild
)
Parameters
- pxLeft
Type: System.Int32%
[out] The left-hand x coordinate.
- pyTop
Type: System.Int32%
[out] The top y coordinate.
- pcxWidth
Type: System.Int32%
[out] The width.
- pcyHeight
Type: System.Int32%
[out] The height.
- varChild
Type: System.Object
The child.
Implements
_CommandBarButton.accLocation(Int32%, Int32%, Int32%, Int32%, Object)
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.