Share via


DocumentActionEntity Class

Definition

A subtype of ActionEntity that represents a document.

public ref class DocumentActionEntity 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 DocumentActionEntity 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 DocumentActionEntity : ActionEntity
Public NotInheritable Class DocumentActionEntity
Inherits ActionEntity
Inheritance
Object Platform::Object IInspectable ActionEntity DocumentActionEntity
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 document 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