Share via


TargetedContentContainer Class

Definition

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

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
Inheritance
Object Platform::Object IInspectable 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