AppWindowClosedEventArgs.Reason 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示如何启动应用窗口的关闭。
public:
property AppWindowClosedReason Reason { AppWindowClosedReason get(); };
AppWindowClosedReason Reason();
public AppWindowClosedReason Reason { get; }
var appWindowClosedReason = appWindowClosedEventArgs.reason;
Public ReadOnly Property Reason As AppWindowClosedReason
属性值
枚举的值,指示如何启动应用窗口关闭。