TargetedContentContainer 类

定义

表示 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
继承
Object Platform::Object IInspectable TargetedContentContainer
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Services.TargetedContent.TargetedContentContract (在 v1.0 中引入)
应用功能
secondaryAuthenticationFactor targetedContent

属性

Availability

获取 TargetedContentContainer 中内容的 TargetedContentAvailability

Content

获取 TargetedContentContainer 对象的 TargetedContentCollection

Id

获取 TargetedContainerContainer 对象的 ID。

Timestamp

上次更新内容的时间。

方法

GetAsync(String)

返回指定 ContentId 的 TargetedContentContainer 对象。

SelectSingleObject(String)

获取 TargetedContentContainer 对象中的 TargetedContentObject 对象。

适用于