TargetedContentItemState 類別

定義

代表 TargetedContentItem 物件的狀態:AppInstallationState、ShouldDisplay。

public ref class TargetedContentItemState sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.TargetedContent.TargetedContentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TargetedContentItemState final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.TargetedContent.TargetedContentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TargetedContentItemState
Public NotInheritable Class TargetedContentItemState
繼承
Object Platform::Object IInspectable TargetedContentItemState
屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Services.TargetedContent.TargetedContentContract (已於 v1.0 引進)
應用程式功能
secondaryAuthenticationFactor targetedContent

屬性

AppInstallationState

取得專案的 TargetedContentAppInstallationState

ShouldDisplay

取得專案的 ShouldDisplay 狀態布林值。

適用於