IViewObjectEx.QueryHitRect Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub QueryHitRect ( _
dwAspect As UInteger, _
pRectBounds As RECT(), _
pRectLoc As RECT(), _
lCloseHint As Integer, _
<OutAttribute> ByRef pHitResult As UInteger _
)
'使用
Dim instance As IViewObjectEx
Dim dwAspect As UInteger
Dim pRectBounds As RECT()
Dim pRectLoc As RECT()
Dim lCloseHint As Integer
Dim pHitResult As UInteger
instance.QueryHitRect(dwAspect, pRectBounds, _
pRectLoc, lCloseHint, pHitResult)
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.