EditorControl.HwndGetWindow Method

Gets a window associated with the component.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'宣言
Public Overrides Function HwndGetWindow ( _
    dwWhich As UInteger, _
    dwReserved As UInteger _
) As IntPtr
'使用
Dim instance As EditorControl
Dim dwWhich As UInteger
Dim dwReserved As UInteger
Dim returnValue As IntPtr

returnValue = instance.HwndGetWindow(dwWhich, _
    dwReserved)
public override IntPtr HwndGetWindow(
    uint dwWhich,
    uint dwReserved
)
public:
virtual IntPtr HwndGetWindow(
    unsigned int dwWhich, 
    unsigned int dwReserved
) override
public override function HwndGetWindow(
    dwWhich : uint, 
    dwReserved : uint
) : IntPtr

Parameters

  • dwReserved
    Type: System.UInt32

    Reserved for future use; should be 0.

Return Value

Type: System.IntPtr

The Handle of the control.

Implements

IOleComponent.HwndGetWindow(UInt32, UInt32)

Permissions

See Also

Reference

EditorControl Class

EditorControl Members

Microsoft.VisualStudio.Package Namespace