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() _
)
void GetWindowContext(
out IOleInPlaceFrame ppFrame,
out IOleInPlaceUIWindow ppDoc,
RECT[] lprcPosRect,
RECT[] lprcClipRect,
OLEINPLACEFRAMEINFO[] lpFrameInfo
)
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.