Condividi tramite


TargetedContentContainer Classe

Definizione

Rappresenta un contenitore per tutto il contenuto in un oggetto TargetContentSubscription.

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
Ereditarietà
Object Platform::Object IInspectable TargetedContentContainer
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 Creators Update (è stato introdotto in 10.0.15063.0)
API contract
Windows.Services.TargetedContent.TargetedContentContract (è stato introdotto in v1.0)
Funzionalità dell'app
secondaryAuthenticationFactor targetedContent

Proprietà

Availability

Ottiene targetContentAvailability per il contenuto in un oggetto TargetContentContainer.

Content

Ottiene un oggetto TargetContentCollection per un oggetto TargetContentContainer .

Id

Ottiene l'ID per l'oggetto TargetContainerContainer.

Timestamp

Ora dell'ultimo aggiornamento del contenuto.

Metodi

GetAsync(String)

Restituisce un oggetto TargetContentContainer per ContentId specificato.

SelectSingleObject(String)

Ottiene l'oggetto TargetContentObject nell'oggetto TargetContentContainer.

Si applica a