AllJoynAboutData.DateOfManufacture Property

Definition

Important

The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.

The date of manufacture.

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)

Property Value

The date of manufacture in a YYYY-MM-DD format.

Attributes

Windows requirements

App capabilities
allJoyn

Remarks

By default the returned value is an empty string for UWP app, or the DateModified property of the EXE for Desktop apps.

Applies to