PropertyType enumeration
Collapse the table of content
Expand the table of content

PropertyType enumeration

Specifies property value types.

Syntax


public enum class PropertyType

Members

The PropertyType enumeration has these members.

MemberValueDescription
Empty | empty0

No type is specified.

UInt8 | uInt81

A byte.

Int16 | int162

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

UInt16 | uInt163

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

Int32 | int324

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

UInt32 | uInt325

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

Int64 | int646

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

UInt64 | uInt647

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

Single | single8

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

Double | double9

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

Char16 | char1610

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

Boolean | boolean11

A value that can be only true or false.

String | string12

A Windows Runtime HSTRING.

Inspectable | inspectable13

An object implementing the IInspectable interface.

DateTime | dateTime14

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

TimeSpan | timeSpan15

A time interval.

Guid | guid16

A globally unique identifier.

Point | point17

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

Size | size18

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

Rect | rect19

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

OtherType | otherType20

A type not specified in this enumeration.

UInt8Array | uInt8Array1025

An array of Byte values.

Int16Array | int16Array1026

An array of Int16 values.

UInt16Array | uInt16Array1027

An array of UInt16 values.

Int32Array | int32Array1028

An array of Int32 values.

UInt32Array | uInt32Array1029

An array of UInt32 values.

Int64Array | int64Array1030

An array of Int64 values.

UInt64Array | uInt64Array1031

An array of UInt64 values.

SingleArray | singleArray1032

An array of Single values.

DoubleArray | doubleArray1033

An array of Double values.

Char16Array | char16Array1034

An array of Char values.

BooleanArray | booleanArray1035

An array of Boolean values.

StringArray | stringArray1036

An array of String values.

InspectableArray | inspectableArray1037

An array of Inspectable values.

DateTimeArray | dateTimeArray1038

An array of DateTime values.

TimeSpanArray | timeSpanArray1039

An array of TimeSpan values.

GuidArray | guidArray1040

An array of Guid values.

PointArray | pointArray1041

An array of Point structures.

SizeArray | sizeArray1042

An array of Size structures.

RectArray | rectArray1043

An array of Rect structures.

OtherTypeArray | otherTypeArray1044

An array of an unspecified type.

Remarks

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

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

See also

PropertySet
IPropertyValue.Type

 

 

Show:
© 2016 Microsoft