Dela via


TargetedContentObject Class

Definition

Represents a single object within the TargetedContentContainer.

public ref class TargetedContentObject 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 TargetedContentObject 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 TargetedContentObject
Public NotInheritable Class TargetedContentObject
Inheritance
Object Platform::Object IInspectable TargetedContentObject
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

Collection

Gets a TargetedContentCollection object in the TargetedContentObject object.

Item

Gets a TargetedContentItem object in the TargetedContentObject object.

ObjectKind

Gets the TargetedContentObjectKind object for the TargetedContentObject object.

Value

Gets the TargetedContentValue object for the TargetedContentObject object.

Applies to