Share via


PhotoActionEntity Class

Definition

A subtype of ActionEntity that represents a photo.

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

Properties

DisplayInfo

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

(Inherited from ActionEntity)
FullPath

Gets the full path to the photo image 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