IFileActivatedEventArgs IFileActivatedEventArgs IFileActivatedEventArgs IFileActivatedEventArgs Interface

Provides data when an app is activated because it is the program associated with a file.

Syntax

Declaration

public interface IFileActivatedEventArgspublic interface IFileActivatedEventArgsPublic Interface IFileActivatedEventArgs

Inheritance Hierarchy

Remarks

Interface inheritance

IFileActivatedEventArgs inherits IActivatedEventArgs. Types that implement IFileActivatedEventArgs also implement the interface members of IActivatedEventArgs.

Properties summary

Gets the files for which the app was activated.

Gets the action associated with the activated file.

Properties

  • Files
    Files
    Files
    Files

    Gets the files for which the app was activated.

    public IVectorView<IStorageItem> Files { get; }public IVectorView<IStorageItem> Files { get; }Public ReadOnly Property Files As IVectorView<IStorageItem>

    Property Value

    • The files.

  • Verb
    Verb
    Verb
    Verb

    Gets the action associated with the activated file.

    public string Verb { get; }public string Verb { get; }Public ReadOnly Property Verb As string

    Property Value

    • string
      string
      string
      string

      The action.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.GuidAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.ApplicationModel.Activation.dll