Redigera

Dela via


XmlDictionaryReader.ReadElementContentAsDateTime Method

Definition

Converts an element's content to a DateTime.

public:
 override DateTime ReadElementContentAsDateTime();
public override DateTime ReadElementContentAsDateTime ();
override this.ReadElementContentAsDateTime : unit -> DateTime
Public Overrides Function ReadElementContentAsDateTime () As DateTime

Returns

The node's content represented as a DateTime.

Exceptions

The element is not in valid format.

The element is not in valid format.

Applies to