Share via


NamedActionEntity Class

Definition

A subclass of ActionEntity that associates the name of an entity with an entity object.

public ref class NamedActionEntity sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.Actions.ActionsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class NamedActionEntity final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.Actions.ActionsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class NamedActionEntity : System.IDisposable
Public NotInheritable Class NamedActionEntity
Implements IDisposable
Inheritance
Object Platform::Object IInspectable NamedActionEntity
Attributes
Implements

Windows requirements

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

Properties

Entity

Gets or sets the action entity that is associated with the value in the Name property.

Name

Gets or sets the name of the action entity that is the value of the Entity property.

Methods

Close()

Closes and releases any resources used by this NamedActionEntity.

Dispose()

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

Applies to