Skip to content

Latest commit

 

History

History
146 lines (98 loc) · 4.02 KB

propertytype.md

File metadata and controls

146 lines (98 loc) · 4.02 KB
-api-id -api-type
T:Windows.Foundation.PropertyType
winrt enum

PropertyType

-description

Specifies property value types.

-enum-fields

-field Empty:0

No type is specified.

-field UInt8:1

A byte.

-field Int16:2

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

-field UInt16:3

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

-field Int32:4

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

-field UInt32:5

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

-field Int64:6

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

-field UInt64:7

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

-field Single:8

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

-field Double:9

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

-field Char16:10

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

-field Boolean:11

A value that can be only true or false.

-field String:12

A Windows Runtime HSTRING.

-field Inspectable:13

An object implementing the IInspectable interface.

-field DateTime:14

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

-field TimeSpan:15

A time interval.

-field Guid:16

A globally unique identifier.

-field Point:17

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

-field Size:18

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

-field Rect:19

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

-field OtherType:20

A type not specified in this enumeration.

-field UInt8Array:1025

An array of Byte values.

-field Int16Array:1026

An array of Int16 values.

-field UInt16Array:1027

An array of UInt16 values.

-field Int32Array:1028

An array of Int32 values.

-field UInt32Array:1029

An array of UInt32 values.

-field Int64Array:1030

An array of Int64 values.

-field UInt64Array:1031

An array of UInt64 values.

-field SingleArray:1032

An array of Single values.

-field DoubleArray:1033

An array of Double values.

-field Char16Array:1034

An array of Char values.

-field BooleanArray:1035

An array of Boolean values.

-field StringArray:1036

An array of String values.

-field InspectableArray:1037

An array of Inspectable values.

-field DateTimeArray:1038

An array of DateTime values.

-field TimeSpanArray:1039

An array of TimeSpan values.

-field GuidArray:1040

An array of Guid values.

-field PointArray:1041

An array of Point structures.

-field SizeArray:1042

An array of Size structures.

-field RectArray:1043

An array of Rect structures.

-field OtherTypeArray:1044

An array of an unspecified type.

-remarks

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

-examples

-see-also

PropertySet, IPropertyValue.Type