Vocabulary​Item Class

Definition

Represents an item in the HealthVault Vocabulary.

[System.Xml.Serialization.XmlRoot("item")]
public class VocabularyItem : Microsoft.Health.ItemTypes.HealthRecordItemData, System.Xml.Serialization.IXmlSerializable
Inheritance
Attributes
System.Xml.Serialization.XmlRoot
Implements

Constructors

Vocabulary​Item()

Create an instance of the VocabularyItem class.

Vocabulary​Item(​String)

Create an instance of the VocabularyItem class with the specified code value.

Vocabulary​Item(​String, ​String)

Create an instance of the VocabularyItem class with the specified code value and display value

Vocabulary​Item(​String, ​String, ​String)

Create an instance of the VocabularyItem class with the specified code value and display value

Properties

Abbreviation​Text

Gets a localized and abbreviated representation of the display text.

Display​Text

Gets a localized display text.

Family

Gets or sets the code family.

Info​Xml

Gets any extra information associated with the code item.

Value

Gets or sets the code value.

Version

Gets or sets the code version.

Vocabulary

The Vocabulary to which this item belongs.

Vocabulary​Name

Gets or sets the vocabulary name.

Methods

Get​Schema()

Gets the schema.

Parse​Xml(​XPath​Navigator)

Populates the description of the code from the XML.

Read​Xml(​Xml​Reader)

Set the instance values from the specified reader.

Set​Info​Xml(​String)

Set the InfoXml for this instance.

To​String()

Retrieves the code item as a string.

Write​Xml(​Xml​Writer)

Write the instance values to the specified writer.

Write​Xml(​String, ​Xml​Writer)

Writes the vocabulary item to the specified XML writer.