PersonInfo Members


The PersonInfo type exposes the following members.

Protected method PersonInfo
Constructs an new instance of the PersonInfo class for testing purposes.

Public method Static member CreateFromXml
Creates a new instance of the PersonInfo class using the specified XML.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from 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 Static member GetFromAlternateId
Look up the person and record that were previously associated with this alternate id.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetSelfRecord
Gets the HealthRecordInfo for the first health record that has a relationship of Self with the person.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetXml
Gets the XML representation of the PersonInfo.
Public method Marshal
Writes the person information into the specified writer as XML.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method SetApplicationSettings
Sets the application settings in the web service for this person.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public method Unmarshal
Populates the data of the class from the XML in the specified reader.

Public property ApplicationConnection
Gets a reference to the HealthVault connection instance that was used to create this PersonInfo.
Public property ApplicationSettings
Gets or sets the application settings for the current application and person.
Protected property ApplicationSettingsDocument
Gets or sets the underlying application settings document.
Public property AuthorizedRecords
Gets or sets the authorized record for the person.
Public property Connection
Gets a reference to the HealthVault service that created this PersonInfo or null if the connection used was an OfflineWebApplicationConnection.
Public property Location
Gets the location of the user account.
Public property Name
Gets or sets the person's name.
Public property PersonId
Gets or sets the HealthVault unique identifier for the person.
Public property PreferredCulture
Gets or sets the user's preferred culture.
Public property PreferredUICulture
Gets or sets the user's preferred UI culture.
Public property SelectedRecord
Gets or sets the record the person has chosen to use as the default record for the current application.

Public event ApplicationSettingsChanged
Occurs when SetApplicationSettings(IXPathNavigable) changes the application settings in HealthVault.
Public event SelectedRecordChanged
Occurs when the SelectedRecord setter is called.