Przeczytaj w języku angielskim

Udostępnij za pośrednictwem


FileOpenPickerUI.FileRemoved Event

Definition

Uwaga

The FileRemoved event is deprecated and should not be used.

Fires when the user removes a file from the list of files that the user has chosen if that file was added by the app that is providing files.

public event TypedEventHandler<FileOpenPickerUI,FileRemovedEventArgs> FileRemoved;
[add: Windows.Foundation.Metadata.Deprecated("Since Windows 10, only apps can remove files, not end users so the FileRemoved event will not be raised.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("Since Windows 10, only apps can remove files, not end users so the FileRemoved event will not be raised.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<FileOpenPickerUI,FileRemovedEventArgs> FileRemoved;

Event Type

Attributes

Remarks

If your app participates in the File Open Picker contract and your app uses the app page that is hosted in the file picker to visually indicate which items the user selects, you should respond to this event. When a FileRemoved event fires you should update your app's file picker page to reflect the change. Learn more about responding to this event in FileRemovedEventArgs.

Applies to

See also