Delen via


Application.OnFileSavePickerActivated Method

Definition

Invoked when the application is activated through file-save dialog association.

protected:
 virtual void OnFileSavePickerActivated(FileSavePickerActivatedEventArgs ^ args) = OnFileSavePickerActivated;
void OnFileSavePickerActivated(FileSavePickerActivatedEventArgs const& args);
protected virtual void OnFileSavePickerActivated(FileSavePickerActivatedEventArgs args);
function onFileSavePickerActivated(args)
Protected Overridable Sub OnFileSavePickerActivated (args As FileSavePickerActivatedEventArgs)

Parameters

args
FileSavePickerActivatedEventArgs

Event data for the event.

Remarks

OnFileSavePickerActivated is a pre-defined activation point handler that is invoked for a core Activated event when the ActivationKind is FileSavePicker. This occurs when the user saves a file through the file picker and selects the app as the location.

All Application overrides involved in an activation scenario should call Window.Activate in their implementations.

For example code that shows an OnFileSavePickerActivated override, see File picker contracts sample.

Applies to

See also