Bagikan melalui


TargetedContentItemState Kelas

Definisi

Mewakili status objek 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
Warisan
Object Platform::Object IInspectable TargetedContentItemState
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Services.TargetedContent.TargetedContentContract (diperkenalkan dalam v1.0)
Kemampuan aplikasi
secondaryAuthenticationFactor targetedContent

Properti

AppInstallationState

Mendapatkan TargetedContentAppInstallationState untuk item.

ShouldDisplay

Mendapatkan boolean untuk status ShouldDisplay untuk item.

Berlaku untuk