System::Xml::XmlReader::ReadElementContentAsDateTime method
Contents
[
Hide
]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
- Class DateTime
- Class XmlReader
- Namespace System::Xml
- Library Aspose.PUB for C++
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)
Parameter | Type | Description |
---|---|---|
localName | String | The local name of the element. |
namespaceURI | String | The namespace URI of the element. |
ReturnValue
The element contents as a DateTime object.
See Also
- Class DateTime
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.PUB for C++