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

A value that can be only true or false.

BooleanArray BooleanArray BooleanArray BooleanArray BooleanArray

An array of Boolean values.

Char16 Char16 Char16 Char16 Char16

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

Char16Array Char16Array Char16Array Char16Array Char16Array

An array of Char values.

DateTime DateTime DateTime DateTime DateTime

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

DateTimeArray DateTimeArray DateTimeArray DateTimeArray DateTimeArray

An array of DateTime values.

Double Double Double Double Double

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

DoubleArray DoubleArray DoubleArray DoubleArray DoubleArray

An array of Double values.

Empty Empty Empty Empty Empty

No type is specified.

Guid Guid Guid Guid Guid

A globally unique identifier.

GuidArray GuidArray GuidArray GuidArray GuidArray

An array of Guid values.

Inspectable Inspectable Inspectable Inspectable Inspectable

An object implementing the IInspectable interface.

InspectableArray InspectableArray InspectableArray InspectableArray InspectableArray

An array of Inspectable values.

Int16 Int16 Int16 Int16 Int16

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

Int16Array Int16Array Int16Array Int16Array Int16Array

An array of Int16 values.

Int32 Int32 Int32 Int32 Int32

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

Int32Array Int32Array Int32Array Int32Array Int32Array

An array of Int32 values.

Int64 Int64 Int64 Int64 Int64

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

Int64Array Int64Array Int64Array Int64Array Int64Array

An array of Int64 values.

OtherType OtherType OtherType OtherType OtherType

A type not specified in this enumeration.

OtherTypeArray OtherTypeArray OtherTypeArray OtherTypeArray OtherTypeArray

An array of an unspecified type.

Point Point Point Point Point

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

PointArray PointArray PointArray PointArray PointArray

An array of Point structures.

Rect Rect Rect Rect Rect

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

RectArray RectArray RectArray RectArray RectArray

An array of Rect structures.

Single Single Single Single Single

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

SingleArray SingleArray SingleArray SingleArray SingleArray

An array of Single values.

Size Size Size Size Size

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

SizeArray SizeArray SizeArray SizeArray SizeArray

An array of Size structures.

String String String String String

A Windows Runtime HSTRING.

StringArray StringArray StringArray StringArray StringArray

An array of String values.

TimeSpan TimeSpan TimeSpan TimeSpan TimeSpan

A time interval.

TimeSpanArray TimeSpanArray TimeSpanArray TimeSpanArray TimeSpanArray

An array of TimeSpan values.

UInt16 UInt16 UInt16 UInt16 UInt16

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

UInt16Array UInt16Array UInt16Array UInt16Array UInt16Array

An array of UInt16 values.

UInt32 UInt32 UInt32 UInt32 UInt32

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

UInt32Array UInt32Array UInt32Array UInt32Array UInt32Array

An array of UInt32 values.

UInt64 UInt64 UInt64 UInt64 UInt64

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

UInt64Array UInt64Array UInt64Array UInt64Array UInt64Array

An array of UInt64 values.

UInt8 UInt8 UInt8 UInt8 UInt8

A byte.

UInt8Array UInt8Array UInt8Array UInt8Array UInt8Array

An array of Byte values.


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

See Also