Bagikan melalui


TargetedContentContainer Kelas

Definisi

Mewakili kontainer untuk semua konten dalam objek TargetedContentSubscription.

public ref class TargetedContentContainer 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 TargetedContentContainer 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 TargetedContentContainer
Public NotInheritable Class TargetedContentContainer
Warisan
Object Platform::Object IInspectable TargetedContentContainer
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

Availability

Mendapatkan TargetedContentAvailability untuk konten dalam TargetedContentContainer.

Content

Mendapatkan TargetedContentCollection untuk objek TargetedContentContainer .

Id

Mendapatkan ID untuk objek TargetedContainerContainer.

Timestamp

Waktu konten terakhir diperbarui.

Metode

GetAsync(String)

Mengembalikan objek TargetedContentContainer untuk ContentId yang ditentukan.

SelectSingleObject(String)

Mendapatkan objek TargetedContentObject di objek TargetedContentContainer.

Berlaku untuk