IFileActivatedEventArgs IFileActivatedEventArgs IFileActivatedEventArgs IFileActivatedEventArgs Interface

Definition

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

public : interface IFileActivatedEventArgs : IActivatedEventArgs
public interface IFileActivatedEventArgs : IActivatedEventArgs
Public Interface IFileActivatedEventArgs Implements IActivatedEventArgs
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Inheritance
IFileActivatedEventArgsIFileActivatedEventArgsIFileActivatedEventArgsIFileActivatedEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Interface inheritance

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

Properties

Files Files Files Files

Gets the files for which the app was activated.

public : IVectorView<IStorageItem> Files { get; }
public IReadOnlyList<IStorageItem> Files { get; }
Public ReadOnly Property Files As IReadOnlyList<IStorageItem>
var iReadOnlyList = iFileActivatedEventArgs.files;
Value
IVectorView<IStorageItem> IReadOnlyList<IStorageItem> IReadOnlyList<IStorageItem> IReadOnlyList<IStorageItem>

The files.

Kind Kind Kind Kind

Inherited from IActivatedEventArgs

PreviousExecutionState PreviousExecutionState PreviousExecutionState PreviousExecutionState

Inherited from IActivatedEventArgs

SplashScreen SplashScreen SplashScreen SplashScreen

Inherited from IActivatedEventArgs

Verb Verb Verb Verb

Gets the action associated with the activated file.

public : Platform::String Verb { get; }
public string Verb { get; }
Public ReadOnly Property Verb As string
var string = iFileActivatedEventArgs.verb;
Value
Platform::String string string string

The action.

See Also