ChatMessageAttachment.Text Property

Definition

Gets or sets the text encoded representation of the attachment object.

public:
 property Platform::String ^ Text { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Text();

void Text(winrt::hstring value);
public string Text { get; set; }
var string = chatMessageAttachment.text;
chatMessageAttachment.text = string;
Public Property Text As String

Property Value

String

Platform::String

winrt::hstring

The text of the attachment.

Windows requirements

App capabilities
chat chatSystem smsSend

Applies to