Share via


IppAttributeValue.CreateDateTime(DateTime) Method

Definition

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.

Applies to