CoreWindow.Close method

Applies to Windows and Windows Phone

Closes a secondary window and exits the message loop.

Syntax


public void Close()

Parameters

This method has no parameters.

Remarks

This method also causes the ProcessEvents operation to exit the event-processing loop.

Windows Phone 8

This API is supported in native apps only.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.winmd

See also

CoreWindow
CoreDispatcher.ProcessEvents

 

 

Show:
© 2014 Microsoft