Share via


WidgetUpdateRequestOptions.Data Property

Definition

Gets or sets the Adaptive Card data template for the associated widget.

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

void Data(winrt::hstring value);
public string Data { get; set; }
var string = widgetUpdateRequestOptions.data;
widgetUpdateRequestOptions.data = string;
Public Property Data As String

Property Value

String

Platform::String

winrt::hstring

A JSON string containing the Adaptive Card data template.

Remarks

For information on creating an Adaptive Card data template, see Create a widget template with the Adaptive Cards Designer.

Applies to