Compartilhar via


HwndWrapper.EnsureHandle Method

Ensures that the handle for this window is created (creating the handle if it doesn't already exist). Note that EnsureHandle faisl to create the window's handle if it's called while in the process of creating the handle. In this case, the Handle is left uncreated for the current call.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Sub EnsureHandle
public void EnsureHandle()
public:
void EnsureHandle()
member EnsureHandle : unit -> unit
public function EnsureHandle()

.NET Framework Security

See Also

Reference

HwndWrapper Class

Microsoft.VisualStudio.PlatformUI Namespace