IppAttributeValue.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 an IppAttributeValue object that contains a dateTime
attribute with the specified value, as defined by the Internet Printing Protocol (IPP).
public:
static IppAttributeValue ^ CreateDateTime(DateTime value);
static IppAttributeValue CreateDateTime(DateTime const& value);
public static IppAttributeValue CreateDateTime(System.DateTimeOffset value);
function createDateTime(value)
Public Shared Function CreateDateTime (value As DateTimeOffset) As IppAttributeValue
Parameters
- value
- DateTime DateTimeOffset
The value of the dateTime
attribute.
Returns
The new IppAttributeValue object.