共用方式為


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

'宣告
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 _
)
'用途
Dim instance As _IVsMsoOleAccDispObj
Dim pxLeft As Integer
Dim pyTop As Integer
Dim pcxWidth As Integer
Dim pcyHeight As Integer
Dim varChild As Object

instance.accLocation(pxLeft, pyTop, pcxWidth, _
    pcyHeight, varChild)
void accLocation(
    out int pxLeft,
    out int pyTop,
    out int pcxWidth,
    out int pcyHeight,
    Object varChild
)
void accLocation(
    [OutAttribute] int% pxLeft, 
    [OutAttribute] int% pyTop, 
    [OutAttribute] int% pcxWidth, 
    [OutAttribute] int% pcyHeight, 
    [InAttribute] Object^ varChild
)
abstract accLocation : 
        pxLeft:int byref * 
        pyTop:int byref * 
        pcxWidth:int byref * 
        pcyHeight:int byref * 
        varChild:Object -> unit 
function accLocation(
    pxLeft : int, 
    pyTop : int, 
    pcxWidth : int, 
    pcyHeight : int, 
    varChild : Object
)

Parameters

  • pxLeft
    Type: System.Int32%
    [out] The left-hand x coordinate.

Implements

IAccessible.accLocation(Int32%, Int32%, Int32%, Int32%, Object)

Remarks

This method throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

_IVsMsoOleAccDispObj Interface

_IVsMsoOleAccDispObj Members

Microsoft.VisualStudio.CommandBars Namespace