IWidgetManager.GetWidgetInfo(String) Method

Definition

Interface definition of the GetWidgetInfo(String) method.

public:
 WidgetInfo ^ GetWidgetInfo(Platform::String ^ widgetId);
WidgetInfo GetWidgetInfo(winrt::hstring const& widgetId);
public WidgetInfo GetWidgetInfo(string widgetId);
function getWidgetInfo(widgetId)
Public Function GetWidgetInfo (widgetId As String) As WidgetInfo

Parameters

widgetId
String

Platform::String

winrt::hstring

The widget ID.

Returns

A WidgetInfo object.

Remarks

The IWidgetManager interface is a part of the underlying implementation of the widget framework and is not intended to be used directly by app developers who are implementing widget providers.

Applies to