Sdílet prostřednictvím


PropertyValue.CreateDateTime(DateTime) Method

Definition

Creates a property value from a date and time value.

public:
 static Platform::Object ^ CreateDateTime(DateTime value);
 static IInspectable CreateDateTime(DateTime const& value);
public static object CreateDateTime(System.DateTimeOffset value);
function createDateTime(value)
Public Shared Function CreateDateTime (value As DateTimeOffset) As Object

Parameters

value
DateTime DateTimeOffset

The value to store in the property value.

Returns

Object

Platform::Object

IInspectable

The property value.

Applies to