Share via

PropertyType Enum


Specifies property value types.

public enum class PropertyType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
enum class PropertyType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public enum PropertyType
var value = Windows.Foundation.PropertyType.empty
Public Enum PropertyType

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced in v1.0)


Boolean 11

A value that can be only true or false.

BooleanArray 1035

An array of Boolean values.

Char16 10

An unsigned 16-bit (2-byte) code point.

Char16Array 1034

An array of Char values.

DateTime 14

An instant in time, typically expressed as a date and time of day.

DateTimeArray 1038

An array of DateTime values.

Double 9

A signed 64-bit (8-byte) floating-point number.

DoubleArray 1033

An array of Double values.

Empty 0

No type is specified.

Guid 16

A globally unique identifier.

GuidArray 1040

An array of Guid values.

Inspectable 13

An object implementing the IInspectable interface.

InspectableArray 1037

An array of Inspectable values.

Int16 2

A signed 16-bit (2-byte) integer.

Int16Array 1026

An array of Int16 values.

Int32 4

A signed 32-bit (4-byte) integer.

Int32Array 1028

An array of Int32 values.

Int64 6

A signed 64-bit (8-byte) integer.

Int64Array 1030

An array of Int64 values.

OtherType 20

A type not specified in this enumeration.

OtherTypeArray 1044

An array of an unspecified type.

Point 17

An ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimensional plane.

PointArray 1041

An array of Point structures.

Rect 19

A set of four floating-point numbers that represent the location and size of a rectangle.

RectArray 1043

An array of Rect structures.

Single 8

A signed 32-bit (4-byte) floating-point number.

SingleArray 1032

An array of Single values.

Size 18

An ordered pair of float-point numbers that specify a height and width.

SizeArray 1042

An array of Size structures.

String 12

A Windows Runtime HSTRING.

StringArray 1036

An array of String values.

TimeSpan 15

A time interval.

TimeSpanArray 1039

An array of TimeSpan values.

UInt16 3

An unsigned 16-bit (2-byte) integer.

UInt16Array 1027

An array of UInt16 values.

UInt32 5

An unsigned 32-bit (4-byte) integer.

UInt32Array 1029

An array of UInt32 values.

UInt64 7

An unsigned 64-bit (8-byte) integer.

UInt64Array 1031

An array of UInt64 values.

UInt8 1

A byte.

UInt8Array 1025

An array of Byte values.


This enumeration is used as a value by IPropertyValue.Type and BitmapTypedValue.Type.

Applies to

See also