다음을 통해 공유


CommonMessagePump.IOleComponent.HwndGetWindow Method

Retrieves a window associated with the component.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

‘선언
Private Function HwndGetWindow ( _
    dwWhich As UInteger, _
    dwReserved As UInteger _
) As IntPtr Implements IOleComponent.HwndGetWindow
IntPtr IOleComponent.HwndGetWindow(
    uint dwWhich,
    uint dwReserved
)

Parameters

  • dwReserved
    Type: System.UInt32
    Reserved for future use. Should be 0.

Return Value

Type: System.IntPtr
The HWND, or nulla null reference (Nothing in Visual Basic) if no such window exists.

Implements

IOleComponent.HwndGetWindow(UInt32, UInt32)

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace