Dela via


PropertyValue.CreateSingle(Single) Method

Definition

Creates a property value from a floating-point value.

public:
 static Platform::Object ^ CreateSingle(float value);
 static IInspectable CreateSingle(float const& value);
public static object CreateSingle(float value);
function createSingle(value)
Public Shared Function CreateSingle (value As Single) As Object

Parameters

value
Single

float

The value to store in the property value.

Returns

Object

Platform::Object

IInspectable

The property value.

Applies to