Udostępnij za pośrednictwem


TargetedContentValueKind Enum

Definition

Defines the types of content values supported by each TargetedContentItem object in a TargetedContentContainer.

public enum class TargetedContentValueKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.TargetedContent.TargetedContentContract, 65536)]
enum class TargetedContentValueKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.TargetedContent.TargetedContentContract), 65536)]
public enum TargetedContentValueKind
var value = Windows.Services.TargetedContent.TargetedContentValueKind.string
Public Enum TargetedContentValueKind
Inheritance
TargetedContentValueKind
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

Fields

Name Value Description
String 0

A string.

Uri 1

A Uri object.

Number 2

A double.

Boolean 3

A Boolean.

File 4

A TargetedContentFile object.

ImageFile 5

a TargetedContentImage object.

Action 6

A TargetedContentAction object.

Strings 7

An array of strings.

Uris 8

An array of Uri objects.

Numbers 9

An array of doubles.

Booleans 10

An array of Booleans.

Files 11

An array of TargetedContentFile objects.

ImageFiles 12

An array of TargetedContentImage objects.

Actions 13

An array of TargetedContentAction objects.

Applies to

See also