次の方法で共有


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 状態のブール値を取得します。

適用対象