HealthVaultPlatformInformation.GetHealthRecordItemTypeDefinition(IList<Guid>, HealthRecordItemTypeSections, IList<String>, Nullable<DateTime>, HealthServiceConnection) HealthVaultPlatformInformation.GetHealthRecordItemTypeDefinition(IList<Guid>, HealthRecordItemTypeSections, IList<String>, Nullable<DateTime>, HealthServiceConnection) HealthVaultPlatformInformation.GetHealthRecordItemTypeDefinition(IList<Guid>, HealthRecordItemTypeSections, IList<String>, Nullable<DateTime>, HealthServiceConnection) Method

Definition

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

public virtual System.Collections.Generic.IDictionary<Guid,Microsoft.Health.HealthRecordItemTypeDefinition> GetHealthRecordItemTypeDefinition (System.Collections.Generic.IList<Guid> typeIds, Microsoft.Health.HealthRecordItemTypeSections sections, System.Collections.Generic.IList<string> imageTypes, Nullable<DateTime> lastClientRefreshDate, Microsoft.Health.HealthServiceConnection connection);
abstract member GetHealthRecordItemTypeDefinition : System.Collections.Generic.IList<Guid> * Microsoft.Health.HealthRecordItemTypeSections * System.Collections.Generic.IList<string> * Nullable<DateTime> * Microsoft.Health.HealthServiceConnection -> System.Collections.Generic.IDictionary<Guid, Microsoft.Health.HealthRecordItemTypeDefinition>
override this.GetHealthRecordItemTypeDefinition : System.Collections.Generic.IList<Guid> * Microsoft.Health.HealthRecordItemTypeSections * System.Collections.Generic.IList<string> * Nullable<DateTime> * Microsoft.Health.HealthServiceConnection -> System.Collections.Generic.IDictionary<Guid, Microsoft.Health.HealthRecordItemTypeDefinition>
Public Overridable 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)
Parameters
typeIds
IList<Guid>

A collection of health item type IDs whose details are being requested. Null indicates that all health item types should be returned.

sections
HealthRecordItemTypeSections HealthRecordItemTypeSections HealthRecordItemTypeSections

A collection of HealthRecordItemTypeSections enumeration values that indicate the type of details to be returned for the specified health item records(s).

imageTypes
IList<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.
lastClientRefreshDate
Nullable<DateTime>

A DateTime instance that specifies the time of the last refresh made by the client.

connection
HealthServiceConnection HealthServiceConnection HealthServiceConnection

A connection to the HealthVault service.

Returns

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

Exceptions

If typeIds is null and empty, or typeIds is null and member in typeIds is Empty.

Remarks

This method calls the HealthVault service if the types are not

already in the client-side cache.

Applies to