IWindowProvider.Close Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om