System::Xml::XmlReader::ReadElementContentAsDateTime method

XmlReader::ReadElementContentAsDateTime() method

Reads the current element and returns the contents as a DateTime object.

virtual DateTime System::Xml::XmlReader::ReadElementContentAsDateTime()

ReturnValue

The element content as a DateTime object.

See Also

XmlReader::ReadElementContentAsDateTime(String, String) method

Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a DateTime object.

virtual DateTime System::Xml::XmlReader::ReadElementContentAsDateTime(String localName, String namespaceURI)
ParameterTypeDescription
localNameStringThe local name of the element.
namespaceURIStringThe namespace URI of the element.

ReturnValue

The element contents as a DateTime object.

See Also