語言

WidgetAnalyticsInfoReportedArgs 類別

定義

提供 OnAnalyticsInfoReported) 事件的資料,當小工具主機回報與使用者與小工具互動相關的分析資料時,該事件會被觸發。

public ref class WidgetAnalyticsInfoReportedArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WidgetAnalyticsInfoReportedArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WidgetAnalyticsInfoReportedArgs
Public NotInheritable Class WidgetAnalyticsInfoReportedArgs
繼承
Object Platform::Object IInspectable WidgetAnalyticsInfoReportedArgs
屬性

屬性

名稱 Description
AnalyticsJson

會收到一個 JSON 字串,描述觸發分析事件的使用者互動。

WidgetContext

會取得與分析資訊相關的 WidgetContext 物件。 此物件提供關於元件在元件主機內的設定資訊。

適用於