Share via


ActionEntityFactory.CreateTextEntity Method

Definition

Overloads

Name Description
CreateTextEntity(String)

Creates a new instance of TextActionEntity with the specified text.

CreateTextEntity(String, ActionEntityTextFormat)

Creates a new instance of TextActionEntity with the specified text and text format.

CreateTextEntity(String)

Creates a new instance of TextActionEntity with the specified text.

public:
 virtual TextActionEntity ^ CreateTextEntity(Platform::String ^ text) = CreateTextEntity;
TextActionEntity CreateTextEntity(winrt::hstring const& text);
public TextActionEntity CreateTextEntity(string text);
function createTextEntity(text)
Public Function CreateTextEntity (text As String) As TextActionEntity

Parameters

text
String

Platform::String

winrt::hstring

The text of the new TextActionEntity.

Returns

A new TextActionEntity.

Applies to

CreateTextEntity(String, ActionEntityTextFormat)

Creates a new instance of TextActionEntity with the specified text and text format.

public:
 virtual TextActionEntity ^ CreateTextEntity(Platform::String ^ text, ActionEntityTextFormat textFormat) = CreateTextEntity;
/// [Windows.Foundation.Metadata.Overload("CreateTextEntityWithTextFormat")]
TextActionEntity CreateTextEntity(winrt::hstring const& text, ActionEntityTextFormat const& textFormat);
[Windows.Foundation.Metadata.Overload("CreateTextEntityWithTextFormat")]
public TextActionEntity CreateTextEntity(string text, ActionEntityTextFormat textFormat);
function createTextEntity(text, textFormat)
Public Function CreateTextEntity (text As String, textFormat As ActionEntityTextFormat) As TextActionEntity

Parameters

text
String

Platform::String

winrt::hstring

The text of the new TextActionEntity.

textFormat
ActionEntityTextFormat

A member of the ActionEntityTextFormat enumeration specifying the format of the text.

Returns

A new TextActionEntity.

Attributes

Applies to