ToDateTime() protected static méthode

protected static ToDateTime ( string value ) : DateTime
value string
Résultat DateTime
Exemple #1
0
 internal object Read_dateTime()
 {
     base.Reader.MoveToContent();
     if (base.Reader.NodeType == XmlNodeType.Element)
     {
         if ((base.Reader.LocalName != this.id10_dateTime) || (base.Reader.NamespaceURI != this.id2_Item))
         {
             throw base.CreateUnknownNodeException();
         }
         return(XmlSerializationReader.ToDateTime(base.Reader.ReadElementString()));
     }
     base.UnknownNode(null);
     return(null);
 }