WidgetInfo.Data Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a string containing the current Adaptive Card JSON data template for the widget.
public:
property Platform::String ^ Data { Platform::String ^ get(); };
winrt::hstring Data();
public string Data { get; }
var string = widgetInfo.data;
Public ReadOnly Property Data As String
Property Value
A JSON string.
Remarks
Set the data template for a widget by calling Microsoft.Windows.Widgets.Providers.WidgetManager.UpdateWidget.