TextActionEntity Class

Definition

A subtype of ActionEntity that represents a string of text.

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

Properties

DisplayInfo

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

(Inherited from ActionEntity)
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)
Text

Gets the text content of the TextActionEntity.

TextFormat

Gets the text format of the TextActionEntity.

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