共用方式為


AllJoynAboutData.DateOfManufacture 屬性

定義

重要

Windows.Devices.AllJoyn命名空間中的類型已被取代,未來版本的 Windows 可能無法使用。 AllJoyn是 AllSeen 聯盟贊助的開放原始碼探索和通訊協定,適用于物聯網 (IoT) 案例,例如開啟和關閉燈光,以及讀取溫度。 如需 IoTivity LiteIoTivity等替代方案,請參閱 iotivity.org 網站。

製造日期。

public:
 property IReference<DateTime> ^ DateOfManufacture { IReference<DateTime> ^ get(); void set(IReference<DateTime> ^ value); };
IReference<DateTime> DateOfManufacture();

void DateOfManufacture(IReference<DateTime> value);
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
IReference<DateTime> DateOfManufacture();

void DateOfManufacture(IReference<DateTime> value);
public System.Nullable<System.DateTimeOffset> DateOfManufacture { get; set; }
public System.Nullable<System.DateTimeOffset> DateOfManufacture { [Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] set; }
var iReference = allJoynAboutData.dateOfManufacture;
allJoynAboutData.dateOfManufacture = iReference;
Public Property DateOfManufacture As Nullable(Of DateTimeOffset)

屬性值

以 YYYY-MM-DD格式製造日期。

屬性

Windows 需求

應用程式功能
allJoyn

備註

根據預設,傳回的值是 UWP app 的空字串,或 Desktop 應用程式 EXE 的 DateModified 屬性。

適用於