Share via


FileActionEntity Class

Definition

A subtype of ActionEntity that represents a file.

public ref class FileActionEntity sealed : ActionEntity
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.Actions.ActionsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FileActionEntity final : ActionEntity
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.Actions.ActionsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class FileActionEntity : ActionEntity
Public NotInheritable Class FileActionEntity
Inherits ActionEntity
Inheritance
Object Platform::Object IInspectable ActionEntity FileActionEntity
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.26100.0)
API contract
Windows.AI.Actions.ActionsContract (introduced in v4.0)

Remarks

Create an instance of this class by calling ActionEntityFactory.CreateDocumentEntity.

Properties

DisplayInfo

Gets an object that contains the display information for the ActionEntity.

(Inherited from ActionEntity)
FullPath

Gets the full path to the file.

Id

Gets the unique identifier for the ActionEntity.

(Inherited from ActionEntity)
Kind

Gets a value specifying what kind of entity this ActionEntity is.

(Inherited from ActionEntity)

Methods

Close()

Closes and releases any resources used by this ActionEntity.

(Inherited from ActionEntity)
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from ActionEntity)

Applies to