Share via


SimpleEditorView.HwndGetWindow Method

Gets a window associated with the component.

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

Syntax

'Declaration
Public Overridable Function HwndGetWindow ( _
    dwWhich As UInteger, _
    dwReserved As UInteger _
) As IntPtr
public virtual IntPtr HwndGetWindow(
    uint dwWhich,
    uint dwReserved
)
public:
virtual IntPtr HwndGetWindow(
    unsigned int dwWhich, 
    unsigned int dwReserved
)
abstract HwndGetWindow : 
        dwWhich:uint32 * 
        dwReserved:uint32 -> IntPtr  
override HwndGetWindow : 
        dwWhich:uint32 * 
        dwReserved:uint32 -> IntPtr
public function HwndGetWindow(
    dwWhich : uint, 
    dwReserved : uint
) : IntPtr

Parameters

  • dwReserved
    Type: System.UInt32

    Reserved for future use; should be 0.

Return Value

Type: System.IntPtr
A pointer to the desired window or nulla null reference (Nothing in Visual Basic) if no such window exists.

Implements

IOleComponent.HwndGetWindow(UInt32, UInt32)

Remarks

By default this method is not implemented and returns a nulla null reference (Nothing in Visual Basic) pointer.

.NET Framework Security

See Also

Reference

SimpleEditorView Class

Microsoft.VisualStudio.Package Namespace