TargetedContentContainer Class

Definition

Represents a container for all the content in a TargetedContentSubscription object.

C#
[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
Inheritance
Object TargetedContentContainer
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Services.TargetedContent.TargetedContentContract (introduced in v1.0)
App capabilities
secondaryAuthenticationFactor targetedContent

Properties

Availability

Gets the TargetedContentAvailability for the content in a TargetedContentContainer.

Content

Gets a TargetedContentCollection for a TargetedContentContainer object.

Id

Gets the ID for the TargetedContainerContainer object.

Timestamp

The time the content was last updated.

Methods

GetAsync(String)

Returns a TargetedContentContainer object for specified ContentId.

SelectSingleObject(String)

Gets the TargetedContentObject object in the TargetedContentContainer object.

Applies to

Product Versions
WinRT Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100