CommandBar.accLocation(Int32, Int32, Int32, Int32, Object) 方法

定义

获取控件的位置。 不推荐使用此方法。

void accLocation([Runtime::InteropServices::Out] int & pxLeft, [Runtime::InteropServices::Out] int & pyTop, [Runtime::InteropServices::Out] int & pcxWidth, [Runtime::InteropServices::Out] int & pcyHeight, winrt::Windows::Foundation::IInspectable const & varChild);
[System.Runtime.InteropServices.DispId(-5015)]
[System.Runtime.InteropServices.TypeLibFunc(64)]
public void accLocation (out int pxLeft, out int pyTop, out int pcxWidth, out int pcyHeight, object varChild);
[<System.Runtime.InteropServices.DispId(-5015)>]
[<System.Runtime.InteropServices.TypeLibFunc(64)>]
abstract member accLocation : int * int * int * int * obj -> unit
Public Sub accLocation (ByRef pxLeft As Integer, ByRef pyTop As Integer, ByRef pcxWidth As Integer, ByRef pcyHeight As Integer, Optional varChild As Object)

参数

pxLeft
Int32

弄左 x 坐标。

pyTop
Int32

弄顶部的 y 坐标。

pcxWidth
Int32

弄宽度。

pcyHeight
Int32

弄高度。

varChild
Object

子级。

实现

属性

注解

调用时,此方法将引发 DeprecatedException。

适用于