共用方式為


IOleInPlaceSite.GetWindowContext Method

Definition

public:
 void GetWindowContext([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleInPlaceFrame ^ % ppFrame, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleInPlaceUIWindow ^ % ppDoc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ lprcPosRect, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ lprcClipRect, cli::array <Microsoft::VisualStudio::OLE::Interop::OLEINPLACEFRAMEINFO> ^ lpFrameInfo);
void GetWindowContext([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleInPlaceFrame const & & ppFrame, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleInPlaceUIWindow const & & ppDoc, std::Array <Microsoft::VisualStudio::OLE::Interop::RECT> const & lprcPosRect, std::Array <Microsoft::VisualStudio::OLE::Interop::RECT> const & lprcClipRect, std::Array <Microsoft::VisualStudio::OLE::Interop::OLEINPLACEFRAMEINFO> const & lpFrameInfo);
public void GetWindowContext (out Microsoft.VisualStudio.OLE.Interop.IOleInPlaceFrame ppFrame, out Microsoft.VisualStudio.OLE.Interop.IOleInPlaceUIWindow ppDoc, Microsoft.VisualStudio.OLE.Interop.RECT[] lprcPosRect, Microsoft.VisualStudio.OLE.Interop.RECT[] lprcClipRect, Microsoft.VisualStudio.OLE.Interop.OLEINPLACEFRAMEINFO[] lpFrameInfo);
abstract member GetWindowContext : IOleInPlaceFrame * IOleInPlaceUIWindow * Microsoft.VisualStudio.OLE.Interop.RECT[] * Microsoft.VisualStudio.OLE.Interop.RECT[] * Microsoft.VisualStudio.OLE.Interop.OLEINPLACEFRAMEINFO[] -> unit
Public Sub GetWindowContext (ByRef ppFrame As IOleInPlaceFrame, ByRef ppDoc As IOleInPlaceUIWindow, lprcPosRect As RECT(), lprcClipRect As RECT(), lpFrameInfo As OLEINPLACEFRAMEINFO())

Parameters

lprcPosRect
RECT[]
lprcClipRect
RECT[]
lpFrameInfo
OLEINPLACEFRAMEINFO[]

Remarks

For information on the COM interface, see IOleInPlaceSite::GetWindowContext

Applies to