次の方法で共有


IOleComponent.HwndGetWindow Method

Gets a window associated with the component.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣言
Function HwndGetWindow ( _
    dwWhich As UInteger, _
    dwReserved As UInteger _
) As IntPtr
IntPtr 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.

.NET Framework Security

See Also

Reference

IOleComponent Interface

Microsoft.VisualStudio.OLE.Interop Namespace