Share via


PropertyValue.CreateTimeSpan(TimeSpan) Method

Definition

Creates a property value from a time interval.

public:
 static Platform::Object ^ CreateTimeSpan(TimeSpan value);
 static IInspectable CreateTimeSpan(TimeSpan const& value);
public static object CreateTimeSpan(System.TimeSpan value);
function createTimeSpan(value)
Public Shared Function CreateTimeSpan (value As TimeSpan) As Object

Parameters

value
TimeSpan TimeSpan

The time interval to store in the property value.

Returns

Object

Platform::Object

IInspectable

The property value.

Applies to