Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Sub QueryHitRect ( _
    dwAspect As UInteger, _
    pRectBounds As RECT(), _
    pRectLoc As RECT(), _
    lCloseHint As Integer, _
    <OutAttribute> ByRef pHitResult As UInteger _
)
void QueryHitRect(
    uint dwAspect,
    RECT[] pRectBounds,
    RECT[] pRectLoc,
    int lCloseHint,
    out uint pHitResult
)
void QueryHitRect(
    [InAttribute] unsigned int dwAspect, 
    [InAttribute] array<RECT>^ pRectBounds, 
    [InAttribute] array<RECT>^ pRectLoc, 
    [InAttribute] int lCloseHint, 
    [OutAttribute] unsigned int% pHitResult
)
abstract QueryHitRect : 
        dwAspect:uint32 * 
        pRectBounds:RECT[] * 
        pRectLoc:RECT[] * 
        lCloseHint:int * 
        pHitResult:uint32 byref -> unit
function QueryHitRect(
    dwAspect : uint, 
    pRectBounds : RECT[], 
    pRectLoc : RECT[], 
    lCloseHint : int, 
    pHitResult : uint
)
Parameters
- dwAspect
Type: System.UInt32 
- pRectBounds
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[] 
- pRectLoc
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[] 
- lCloseHint
Type: System.Int32 
- pHitResult
Type: System.UInt32% 
Remarks
For information on the COM interface, see IViewObjectEx::QueryHitRect
.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.