Export (0) Print
Expand All

HealthServiceDateTime Members

HealthVault

The HealthServiceDateTime type exposes the following members.

  NameDescription
Public method HealthServiceDateTime()()()()
Creates a new instance of the HealthServiceDateTime class with the date set to the current date and the time not set.
Public method HealthServiceDateTime(DateTime)
Creates a new instance of the HealthServiceDateTime class from the specified DateTime instance.
Public method HealthServiceDateTime(HealthServiceDate)
Creates a new instance of the HealthServiceDateTime class with the specified date.
Public method HealthServiceDateTime(HealthServiceDate, ApproximateTime)
Creates a new instance of the HealthServiceDateTime class with the specified date and time.
Public method HealthServiceDateTime(HealthServiceDate, ApproximateTime, CodableValue)
Creates a new instance of the HealthServiceDateTime class with the specified date, time, and time zone.

  NameDescription
Public method CompareTo(DateTime)
Compares the specified object to this HealthServiceDateTime object.
Public method CompareTo(Object)
Compares the specified object to this HealthServiceDateTime object.
Public method CompareTo(HealthServiceDateTime)
Compares the specified object to this HealthServiceDateTime object.
Public method Equals
Gets a value indicating whether the specified object is equal to this object.
(Overrides Object..::..Equals(Object).)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
See the base class documentation.
(Overrides Object..::..GetHashCode()()()().)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ParseXml
Populates the data for the date and time from the XML.
(Overrides HealthRecordItemData..::..ParseXml(XPathNavigator).)
Public method ToDateTime
Converts the HealthServiceDateTime instance to a System.DateTime object.
Public method ToString
Gets the date and time as a string.
(Overrides Object..::..ToString()()()().)
Public method WriteXml
Writes the date and time to the specified XML writer.
(Overrides HealthRecordItemData..::..WriteXml(String, XmlWriter).)

  NameDescription
Public operator Static member Equality
Gets a value indicating whether the specified object is equal to the specified date.
Public operator Static member ExplicitNarrowingExplicitExplicitExplicit(HealthServiceDateTime to DateTime)
Casts the HealthServiceDateTime instance to a System.DateTime object.
Public operator Static member GreaterThan
Gets a value indicating whether the specified date is greater than the specified object.
Public operator Static member Inequality
Gets a value indicating whether the specified object is not equal to the specified date.
Public operator Static member LessThan
Gets a value indicating whether the specified date is less than the specified object.

  NameDescription
Public property Date
Gets or sets the date.
Public property Time
Gets or sets the time.
Public property TimeZone
Gets or sets the time zone.
Show:
© 2015 Microsoft