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 物件的識別碼。

Timestamp

上次更新內容的時間。

方法

GetAsync(String)

會傳回指定 ContentId 的 TargetedContentContainer 物件。

SelectSingleObject(String)

取得 TargetedContentContainer 物件中的 TargetedContentObject 物件。

適用於