共用方式為


AppWindowClosedEventArgs.Reason 屬性

定義

取得值,這個值表示如何起始應用程式視窗的關閉。

public:
 property AppWindowClosedReason Reason { AppWindowClosedReason get(); };
AppWindowClosedReason Reason();
public AppWindowClosedReason Reason { get; }
var appWindowClosedReason = appWindowClosedEventArgs.reason;
Public ReadOnly Property Reason As AppWindowClosedReason

屬性值

列舉值,指出如何起始應用程式視窗的關閉。

適用於