Compartilhar via


EditorControl.HwndGetWindow Method

Gets a window associated with the component.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'Declaração
Public Overrides Function HwndGetWindow ( _
    dwWhich As UInteger, _
    dwReserved As UInteger _
) As IntPtr
public override IntPtr HwndGetWindow(
    uint dwWhich,
    uint dwReserved
)

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)

.NET Framework Security

See Also

Reference

EditorControl Class

Microsoft.VisualStudio.Package Namespace