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

适用于

另请参阅