IOleInPlaceSite.GetWindowContext Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣告
Sub GetWindowContext ( _
<OutAttribute> ByRef ppFrame As IOleInPlaceFrame, _
<OutAttribute> ByRef ppDoc As IOleInPlaceUIWindow, _
<OutAttribute> lprcPosRect As RECT(), _
<OutAttribute> lprcClipRect As RECT(), _
<OutAttribute> lpFrameInfo As OLEINPLACEFRAMEINFO() _
)
'用途
Dim instance As IOleInPlaceSite
Dim ppFrame As IOleInPlaceFrame
Dim ppDoc As IOleInPlaceUIWindow
Dim lprcPosRect As RECT()
Dim lprcClipRect As RECT()
Dim lpFrameInfo As OLEINPLACEFRAMEINFO()
instance.GetWindowContext(ppFrame, ppDoc, _
lprcPosRect, lprcClipRect, lpFrameInfo)
void GetWindowContext(
out IOleInPlaceFrame ppFrame,
out IOleInPlaceUIWindow ppDoc,
RECT[] lprcPosRect,
RECT[] lprcClipRect,
OLEINPLACEFRAMEINFO[] lpFrameInfo
)
void GetWindowContext(
[OutAttribute] IOleInPlaceFrame^% ppFrame,
[OutAttribute] IOleInPlaceUIWindow^% ppDoc,
[OutAttribute] array<RECT>^ lprcPosRect,
[OutAttribute] array<RECT>^ lprcClipRect,
[InAttribute] [OutAttribute] array<OLEINPLACEFRAMEINFO>^ lpFrameInfo
)
abstract GetWindowContext :
ppFrame:IOleInPlaceFrame byref *
ppDoc:IOleInPlaceUIWindow byref *
lprcPosRect:RECT[] byref *
lprcClipRect:RECT[] byref *
lpFrameInfo:OLEINPLACEFRAMEINFO[] byref -> unit
function GetWindowContext(
ppFrame : IOleInPlaceFrame,
ppDoc : IOleInPlaceUIWindow,
lprcPosRect : RECT[],
lprcClipRect : RECT[],
lpFrameInfo : OLEINPLACEFRAMEINFO[]
)
Parameters
- ppFrame
Type: Microsoft.VisualStudio.OLE.Interop.IOleInPlaceFrame%
- lprcPosRect
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
- lprcClipRect
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
- lpFrameInfo
Type: array<Microsoft.VisualStudio.OLE.Interop.OLEINPLACEFRAMEINFO[]
Remarks
For information on the COM interface, see IOleInPlaceSite::GetWindowContext
.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.