Redigeeri

Jagamisviis:


IWindowProvider.Close Method

Definition

Attempts to close the window.

public:
 void Close();
public void Close ();
abstract member Close : unit -> unit
Public Sub Close ()

Exceptions

When the control is unable to perform the requested action.

When the target element is no longer available (for example, the window has closed).

Remarks

Close must return immediately without blocking.

Close raises the WindowClosedEvent event. If possible, the event should be raised after the control has completed its associated action.

When called on a split pane control, this method will close the pane and remove the associated split. This method might also close all other panes, depending on implementation.

Applies to

See also