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)

Public Shared Function GetHealthRecordItemTypeDefinition ( _
	typeIds As IList(Of Guid), _
	sections As HealthRecordItemTypeSections, _
	imageTypes As IList(Of String), _
	lastClientRefreshDate As Nullable(Of DateTime), _
	connection As HealthServiceConnection _
) As IDictionary(Of Guid, HealthRecordItemTypeDefinition)


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/" 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.