Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetHealthRecordItemTypeDefinition Method
Collapse the table of content
Expand the table of content

GetHealthRecordItemTypeDefinition Method

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

Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: (1.15.1003.9505)

static IDictionary<Guid, HealthRecordItemTypeDefinition^>^ GetHealthRecordItemTypeDefinition(
	IList<Guid>^ typeIds, 
	HealthRecordItemTypeSections sections, 
	IList<String^>^ imageTypes, 
	Nullable<DateTime> lastClientRefreshDate, 
	HealthServiceConnection^ connection


Type: System.Collections.Generic..::..IList<(Of <(<'Guid>)>)>
A collection of health item type IDs whose details are being requested. Null indicates that all health item types should be returned.
Type: Microsoft.Health..::..HealthRecordItemTypeSections
A collection of HealthRecordItemTypeSections enumeration values that indicate the type of details to be returned for the specified health item records(s).
Type: System.Collections.Generic..::..IList<(Of <(<'String>)>)>
A collection of strings that identify which health item record images should be retrieved. This requests an image of the specified mime type should be returned. For example, to request a GIF image, "image/gif" should be specified. For icons, "image/vnd.microsoft.icon" should be specified. Note, not all health item records will have all image types and some may not have any images at all. If '*' is specified, all image types will be returned.
Type: System..::..Nullable<(Of <(<'DateTime>)>)>
A DateTime instance that specifies the time of the last refresh made by the client.
Type: Microsoft.Health..::..HealthServiceConnection
A connection to the HealthVault service.

Return Value

The type definitions for the specified types, or empty if the typeIds parameter does not represent a known unique type identifier.

This method calls the HealthVault service if the types are not already in the client-side cache.

System..::..ArgumentException If typeIds is null and empty, or typeIds is null and member in typeIds is Empty.
System..::..ArgumentNullException If connection parameter is null.
© 2015 Microsoft