Share via


PropertyValue.CreateDateTime(DateTime) 方法

定義

從日期和時間值建立屬性值。

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

參數

value
DateTime DateTimeOffset

要儲存在 屬性值中的值。

傳回

Object

Platform::Object

IInspectable

屬性值。

適用於