Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PropertyValue class

Applies to Windows and Windows Phone

Represents a value in a property store.

Syntax


public static class PropertyValue

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

Members

The PropertyValue class has these types of members:

Methods

The PropertyValue class has these methods. It also inherits methods from the Object class.

MethodDescription
CreateBoolean Creates a property value from a Boolean value.
CreateBooleanArray Creates a property value from an array of Boolean values.
CreateChar16 Creates a property value from a Unicode character.
CreateChar16Array Creates a property value from an array of Unicode characters.
CreateDateTime Creates a property value from a date and time value.
CreateDateTimeArray Creates a property value from an array of date and time values.
CreateDouble Creates a property value from a floating-point value.
CreateDoubleArray Creates a property value from an array of floating-point values.
CreateEmpty Creates an empty property value.
CreateGuid Creates a property value from a GUID.
CreateGuidArray Creates a property value from an array of GUID.
CreateInspectable Creates a property value from an inspectable object.
CreateInspectableArray Creates a property value from an array of inspectable objects.
CreateInt16 Creates a property value from an integer.
CreateInt16Array Creates a property value from an array of integers.
CreateInt32 Creates a property value from an integer.
CreateInt32Array Creates a property value from an array of integers.
CreateInt64 Creates a property value from an integer.
CreateInt64Array Creates a property value from an array of integers.
CreatePoint Creates a property value from a point structure.
CreatePointArray Creates a property value from an array of point structures.
CreateRect Creates a property value from a rectangle structure.
CreateRectArray Creates a property value from an array of rectangle structures.
CreateSingle Creates a property value from a floating-point value.
CreateSingleArray Creates a property value from an array of floating-point values.
CreateSize Creates a property value from a size structure.
CreateSizeArray Creates a property value from an array of size structures.
CreateString Creates a property value from a string.
CreateStringArray Creates a property value from an array of strings.
CreateTimeSpan Creates a property value from a time interval.
CreateTimeSpanArray Creates a property value from an array of time intervals.
CreateUInt16 Creates a property value from an unsigned integer.
CreateUInt16Array Creates a property value from an array of unsigned integers.
CreateUInt32 Creates a property value from an unsigned integer.
CreateUInt32Array Creates a property value from an array of unsigned integers.
CreateUInt64 Creates a property value from an unsigned integer.
CreateUInt64Array Creates a property value from an array of unsigned integers.
CreateUInt8 Creates a property value from a byte.
CreateUInt8Array Creates a property value from an array of bytes.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

See also

PropertyType
Windows.Foundation.Collections.PropertySet

 

 

Show:
© 2014 Microsoft