PropertyType enumeration (windows.foundation.h)

Identifies the type that is stored in a Windows Runtime object that implements the IPropertyValue interface.

Syntax

typedef enum PropertyType {
  PropertyType_Empty = 0,
  PropertyType_UInt8 = 1,
  PropertyType_Int16 = 2,
  PropertyType_UInt16 = 3,
  PropertyType_Int32 = 4,
  PropertyType_UInt32 = 5,
  PropertyType_Int64 = 6,
  PropertyType_UInt64 = 7,
  PropertyType_Single = 8,
  PropertyType_Double = 9,
  PropertyType_Char16 = 10,
  PropertyType_Boolean = 11,
  PropertyType_String = 12,
  PropertyType_Inspectable = 13,
  PropertyType_DateTime = 14,
  PropertyType_TimeSpan = 15,
  PropertyType_Guid = 16,
  PropertyType_Point = 17,
  PropertyType_Size = 18,
  PropertyType_Rect = 19,
  PropertyType_OtherType = 20,
  PropertyType_UInt8Array = 1025,
  PropertyType_Int16Array = 1026,
  PropertyType_UInt16Array = 1027,
  PropertyType_Int32Array = 1028,
  PropertyType_UInt32Array = 1029,
  PropertyType_Int64Array = 1030,
  PropertyType_UInt64Array = 1031,
  PropertyType_SingleArray = 1032,
  PropertyType_DoubleArray = 1033,
  PropertyType_Char16Array = 1034,
  PropertyType_BooleanArray = 1035,
  PropertyType_StringArray = 1036,
  PropertyType_InspectableArray = 1037,
  PropertyType_DateTimeArray = 1038,
  PropertyType_TimeSpanArray = 1039,
  PropertyType_GuidArray = 1040,
  PropertyType_PointArray = 1041,
  PropertyType_SizeArray = 1042,
  PropertyType_RectArray = 1043,
  PropertyType_OtherTypeArray = 1044
} ;

Constants

 
PropertyType_Empty
Value: 0
The object does not contain a value.
PropertyType_UInt8
Value: 1
The object contains an unsigned 8-bit integer.
PropertyType_Int16
Value: 2
The object contains a signed 16-bit integer.
PropertyType_UInt16
Value: 3
The object contains an unsigned 16-bit integer.
PropertyType_Int32
Value: 4
The object contains a signed 32-bit integer.
PropertyType_UInt32
Value: 5
The object contains an unsigned 32-bit integer.
PropertyType_Int64
Value: 6
The object contains a signed 64-bit integer.
PropertyType_UInt64
Value: 7
The object contains an unsigned 64-bit integer.
PropertyType_Single
Value: 8
The object contains a 32-bit floating point value. This value conforms to the IEEE 754 standard.
PropertyType_Double
Value: 9
The object contains a 64-bit floating point value. This value conforms to the IEEE 754 standard.
PropertyType_Char16
Value: 10
The object contains a 16-bit character. This character represents a UTF-16 (Unicode) code unit.
PropertyType_Boolean
Value: 11
The object contains an 8-bit Boolean value.
PropertyType_String
Value: 12
The object contains an HSTRING.
PropertyType_Inspectable
Value: 13
The object contains an object that implements the IInspectable interface.
PropertyType_DateTime
Value: 14
The object contains a DateTime.
PropertyType_TimeSpan
Value: 15
The object contains a TimeSpan.
PropertyType_Guid
Value: 16
The object contains a GUID.
PropertyType_Point
Value: 17
The object contains a Point.
PropertyType_Size
Value: 18
The object contains a Size.
PropertyType_Rect
Value: 19
The object contains a Rect.
PropertyType_OtherType
Value: 20
The object contains an unspecified type.
PropertyType_UInt8Array
Value: 1025
The object contains an array of unsigned 8-bit integers.
PropertyType_Int16Array
Value: 1026
The object contains an array of signed 16-bit integers.
PropertyType_UInt16Array
Value: 1027
The object contains an array of unsigned 16-bit integers.
PropertyType_Int32Array
Value: 1028
The object contains an array of signed 32-bit integers.
PropertyType_UInt32Array
Value: 1029
The object contains an array of unsigned 32-bit integers.
PropertyType_Int64Array
Value: 1030
The object contains an array of signed 64-bit integers.
PropertyType_UInt64Array
Value: 1031
The object contains an array of unsigned 64-bit integers.
PropertyType_SingleArray
Value: 1032
The object contains an array of 32-bit floating point values.
PropertyType_DoubleArray
Value: 1033
The object contains an array of 64-bit floating point values.
PropertyType_Char16Array
Value: 1034
The object contains an array of 16-bit characters.
PropertyType_BooleanArray
Value: 1035
The object contains an array of 8-bit Boolean values.
PropertyType_StringArray
Value: 1036
The object contains an array of HSTRING.
PropertyType_InspectableArray
Value: 1037
The object contains an array of objects that implement the IInspectable interface.
PropertyType_DateTimeArray
Value: 1038
The object contains an array of DateTime.
PropertyType_TimeSpanArray
Value: 1039
The object contains an array of TimeSpan.
PropertyType_GuidArray
Value: 1040
The object contains an array of GUIDs.
PropertyType_PointArray
Value: 1041
The object contains an array of Point.
PropertyType_SizeArray
Value: 1042
The object contains an array of Size.
PropertyType_RectArray
Value: 1043
The object contains an array of Rect.
PropertyType_OtherTypeArray
Value: 1044
The object contains an array of an unspecified type.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header windows.foundation.h

See also

IPropertyValue

IPropertyValueStatics