WidgetUpdateRequestOptions.IsPlaceholderContent 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,表示更新內容是否為佔位符。
public:
property IReference<bool> ^ IsPlaceholderContent { IReference<bool> ^ get(); void set(IReference<bool> ^ value); };
IReference<bool> IsPlaceholderContent();
void IsPlaceholderContent(IReference<bool> value);
public System.Nullable<bool> IsPlaceholderContent { get; set; }
var iReference = widgetUpdateRequestOptions.isPlaceholderContent;
widgetUpdateRequestOptions.isPlaceholderContent = iReference;
Public Property IsPlaceholderContent As Nullable(Of Boolean)
屬性值
如果更新內容是佔位符,那就沒錯。 若該值設為 null,則保留先前的值。
備註
小工具提供者可以將此值設為 true,表示他們提供的內容並非客製化或可執行的。 例如,天氣小工具可能會提供預設位置的天氣圖佔位內容,直到使用者自訂小工具以顯示特定地點的天氣圖。 小工具主機可能會利用這些資訊,優先優先於包含自訂內容的小工具,而非小工具的佔位內容。