CommonMessagePump.IOleComponent.HwndGetWindow(UInt32, UInt32) 方法

定义

检索与组件关联的窗口。

 virtual IntPtr Microsoft.VisualStudio.OLE.Interop.IOleComponent.HwndGetWindow(System::UInt32 dwWhich, System::UInt32 dwReserved) = Microsoft::VisualStudio::OLE::Interop::IOleComponent::HwndGetWindow;
IntPtr IOleComponent.HwndGetWindow (uint dwWhich, uint dwReserved);
abstract member Microsoft.VisualStudio.OLE.Interop.IOleComponent.HwndGetWindow : uint32 * uint32 -> nativeint
override this.Microsoft.VisualStudio.OLE.Interop.IOleComponent.HwndGetWindow : uint32 * uint32 -> nativeint
Function HwndGetWindow (dwWhich As UInteger, dwReserved As UInteger) As IntPtr Implements IOleComponent.HwndGetWindow

参数

dwWhich
UInt32

中的一个值 _OLECWINDOW

dwReserved
UInt32

留待将来使用。 应为0。

返回

IntPtr

nativeint

HWND, null 如果不存在这样的窗口,则为。

实现

Microsoft.Internal.VisualStudio.Shell.Interop.IOleComponent2Private.HwndGetWindow(System.UInt32,System.UInt32)

适用于