Item​Type​Manager Class

Definition

Manages the mapping of a health record item type ID to a class representing the type-specific data for an item and the method used to deserialize it.

public static class ItemTypeManager
Inheritance
ItemTypeManager

Properties

Registered​Types

Get a collection of all the HealthRecordItem-derived types that are registered.

Methods

Clear​Item​Type​Cache()

Removes all item type definitions from the client-side cache.

Deserialize​Item(​String)

Constructs a HealthRecordItem or an appropriate derived type for the specified item XML.

Get​Base​Health​Record​Item​Type​Definition(​Health​Service​Connection)

Gets the health record item type definition for the base item type.

Get​Health​Record​Item​Type​Definition(​IList<​Guid>, ​Health​Record​Item​Type​Sections, ​IList<​String>, ​Nullable<​Date​Time>, ​Health​Service​Connection)

Gets the definitions for one or more health record item type definitions supported by HealthVault.

Get​Health​Record​Item​Type​Definition(​IList<​Guid>, ​Nullable<​Date​Time>, ​Health​Service​Connection)

Gets the definitions for all health record item type definitions supported by HealthVault only if they have been updated since the specified last client refresh date.

Get​Health​Record​Item​Type​Definition(​IList<​Guid>, ​Health​Record​Item​Type​Sections, ​Health​Service​Connection)

Gets the requested definitions for the specified health record item type definitions supported by HealthVault.

Get​Health​Record​Item​Type​Definition(​IList<​Guid>, ​Health​Record​Item​Type​Sections, ​Nullable<​Date​Time>, ​Health​Service​Connection)

Gets the requested health record item type definitions supported by HealthVault only if they have been updated since the specified last client refresh date.

Get​Health​Record​Item​Type​Definition(​IList<​Guid>, ​Health​Service​Connection)

Gets the definition of one or more health record item type definitions supported by HealthVault.

Get​Health​Record​Item​Type​Definition(​Health​Record​Item​Type​Sections, ​Health​Service​Connection)

Gets the definitions for all health record item type definitions supported by HealthVault.

Get​Health​Record​Item​Type​Definition(​Health​Service​Connection)

Gets the definitions for all health record item type definitions supported by HealthVault.

Get​Health​Record​Item​Type​Definition(​Guid, ​Health​Service​Connection)

Gets the definition for a health record item type.

Get​Registered​Type​For​Type​Id(​Guid)

Gets the Type instance of the class that is registered to handle this type id.

Register​Application​Specific​Handler(​Guid, ​String, ​Type)

Registers a class as the handler for the application specific health record item type with the specific application ID and subtype tag.

Register​Application​Specific​Handler(​String, ​String, ​Type)

Registers a class as the handler for the application specific health record item type with the specific application ID and subtype tag.

Register​Application​Specific​Handler(​String, ​String, ​Type, ​Boolean)

Registers a class as the handler for the application specific health record item type with the specific application ID and subtype tag.

Register​Extension​Handler(​String, ​Type)

Registers a deserializer for item extension data.

Register​Extension​Handler(​String, ​Type, ​Boolean)

Registers a deserializer for item extension data.

Register​Type​Handler(​Guid, ​Type)

Registers a deserializer for item type-specific data.

Register​Type​Handler(​Guid, ​Type, ​Boolean)

Registers a deserializer for item type-specific data.