共用方式為


Application.OnFileOpenPickerActivated 方法

定義

透過檔案開啟對話方塊關聯啟動應用程式時叫用。

protected:
 virtual void OnFileOpenPickerActivated(FileOpenPickerActivatedEventArgs ^ args) = OnFileOpenPickerActivated;
void OnFileOpenPickerActivated(FileOpenPickerActivatedEventArgs const& args);
protected virtual void OnFileOpenPickerActivated(FileOpenPickerActivatedEventArgs args);
function onFileOpenPickerActivated(args)
Protected Overridable Sub OnFileOpenPickerActivated (args As FileOpenPickerActivatedEventArgs)

參數

args
FileOpenPickerActivatedEventArgs

事件的事件資料。

備註

OnFileOpenPickerActivated 是預先定義的啟用點處理常式,會在ActivationKindFileOpenPicker時,針對核心Activated事件叫用。

啟用案例所涉及的所有 應用程式 覆寫都應該在其實作中呼叫 Window.Activate

適用於

另請參閱