Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub QueryHitPoint ( _
dwAspect As UInteger, _
pRectBounds As RECT(), _
ptlLoc As POINT, _
lCloseHint As Integer, _
<OutAttribute> ByRef pHitResult As UInteger _
)
'使用
Dim instance As IViewObjectEx
Dim dwAspect As UInteger
Dim pRectBounds As RECT()
Dim ptlLoc As POINT
Dim lCloseHint As Integer
Dim pHitResult As UInteger
instance.QueryHitPoint(dwAspect, pRectBounds, _
ptlLoc, lCloseHint, pHitResult)
void QueryHitPoint(
uint dwAspect,
RECT[] pRectBounds,
POINT ptlLoc,
int lCloseHint,
out uint pHitResult
)
void QueryHitPoint(
[InAttribute] unsigned int dwAspect,
[InAttribute] array<RECT>^ pRectBounds,
[InAttribute] POINT ptlLoc,
[InAttribute] int lCloseHint,
[OutAttribute] unsigned int% pHitResult
)
function QueryHitPoint(
dwAspect : uint,
pRectBounds : RECT[],
ptlLoc : POINT,
lCloseHint : int,
pHitResult : uint
)
Parameters
- dwAspect
Type: System.UInt32
- pRectBounds
Type: []
- ptlLoc
Type: Microsoft.VisualStudio.OLE.Interop.POINT
- lCloseHint
Type: System.Int32
- pHitResult
Type: System.UInt32%
Remarks
For information on the COM interface, see IViewObjectEx::QueryHitPoint
Permissions
- 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.