OleComponent.IOleComponent.HwndGetWindow(UInt32, UInt32) Yöntem

Tanım

dwWhich' Deki bir değerle eşlendiği şekilde, bileşeniyle ilişkili pencereyi almak için çağırılır WindowType . Yalnızca ' a çağrı yapın HwndGetWindowCore(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

Parametreler

dwWhich
UInt32

Alınacak pencerenin türü, doğrudan içindeki bir değere eşlenir WindowType .

dwReserved
UInt32

Gelecekte kullanılmak üzere ayrılmıştır ve sıfır olmalıdır

Döndürülenler

IntPtr

nativeint

İstenen pencere veya Zero böyle bir pencere mevcut değilse.

Uygulamalar

Şunlara uygulanır