PropertyType PropertyType PropertyType PropertyType PropertyType Enum


Specifies property value types.

public : enum class PropertyType
enum class winrt::Windows::Foundation::PropertyType : int32_t
public enum PropertyType
Public Enum PropertyType
var value = Windows.Foundation.PropertyType.boolean;

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)


Boolean Boolean Boolean Boolean Boolean 11

A value that can be only true or false.

BooleanArray BooleanArray BooleanArray BooleanArray BooleanArray 1035

An array of Boolean values.

Char16 Char16 Char16 Char16 Char16 10

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

Char16Array Char16Array Char16Array Char16Array Char16Array 1034

An array of Char values.

DateTime DateTime DateTime DateTime DateTime 14

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

DateTimeArray DateTimeArray DateTimeArray DateTimeArray DateTimeArray 1038

An array of DateTime values.

Double Double Double Double Double 9

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

DoubleArray DoubleArray DoubleArray DoubleArray DoubleArray 1033

An array of Double values.

Empty Empty Empty Empty Empty 0

No type is specified.

Guid Guid Guid Guid Guid 16

A globally unique identifier.

GuidArray GuidArray GuidArray GuidArray GuidArray 1040

An array of Guid values.

Inspectable Inspectable Inspectable Inspectable Inspectable 13

An object implementing the IInspectable interface.

InspectableArray InspectableArray InspectableArray InspectableArray InspectableArray 1037

An array of Inspectable values.

Int16 Int16 Int16 Int16 Int16 2

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

Int16Array Int16Array Int16Array Int16Array Int16Array 1026

An array of Int16 values.

Int32 Int32 Int32 Int32 Int32 4

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

Int32Array Int32Array Int32Array Int32Array Int32Array 1028

An array of Int32 values.

Int64 Int64 Int64 Int64 Int64 6

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

Int64Array Int64Array Int64Array Int64Array Int64Array 1030

An array of Int64 values.

OtherType OtherType OtherType OtherType OtherType 20

A type not specified in this enumeration.

OtherTypeArray OtherTypeArray OtherTypeArray OtherTypeArray OtherTypeArray 1044

An array of an unspecified type.

Point Point Point Point Point 17

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

PointArray PointArray PointArray PointArray PointArray 1041

An array of Point structures.

Rect Rect Rect Rect Rect 19

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

RectArray RectArray RectArray RectArray RectArray 1043

An array of Rect structures.

Single Single Single Single Single 8

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

SingleArray SingleArray SingleArray SingleArray SingleArray 1032

An array of Single values.

Size Size Size Size Size 18

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

SizeArray SizeArray SizeArray SizeArray SizeArray 1042

An array of Size structures.

String String String String String 12

A Windows Runtime HSTRING.

StringArray StringArray StringArray StringArray StringArray 1036

An array of String values.

TimeSpan TimeSpan TimeSpan TimeSpan TimeSpan 15

A time interval.

TimeSpanArray TimeSpanArray TimeSpanArray TimeSpanArray TimeSpanArray 1039

An array of TimeSpan values.

UInt16 UInt16 UInt16 UInt16 UInt16 3

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

UInt16Array UInt16Array UInt16Array UInt16Array UInt16Array 1027

An array of UInt16 values.

UInt32 UInt32 UInt32 UInt32 UInt32 5

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

UInt32Array UInt32Array UInt32Array UInt32Array UInt32Array 1029

An array of UInt32 values.

UInt64 UInt64 UInt64 UInt64 UInt64 7

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

UInt64Array UInt64Array UInt64Array UInt64Array UInt64Array 1031

An array of UInt64 values.

UInt8 UInt8 UInt8 UInt8 UInt8 1

A byte.

UInt8Array UInt8Array UInt8Array UInt8Array UInt8Array 1025

An array of Byte values.


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

See also