PropertyValue.CreateDateTime(DateTime) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The property value.