System.Xml.Serialization.XmlSerializationReader.ToTime Method

Produces a DateTime from a string that represents the time.

Syntax

protected static DateTime ToTime (string value)

Parameters

value
A string to translate into a DateTime object.

Returns

A DateTime object.

Remarks

The protected members of System.Xml.Serialization.XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

The XmlSerializationReader.ToTime(string) method is static.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0