VocabularyItem VocabularyItem VocabularyItem 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
type VocabularyItem = class
    inherit HealthRecordItemData
    interface IXmlSerializable
Public Class VocabularyItem
Inherits HealthRecordItemData
Implements IXmlSerializable
Inheritance
Attributes
Implements

Constructors

VocabularyItem() VocabularyItem() VocabularyItem()

Create an instance of the VocabularyItem class.

VocabularyItem(String) VocabularyItem(String) VocabularyItem(String)

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

VocabularyItem(String, String) VocabularyItem(String, String) VocabularyItem(String, String)

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

VocabularyItem(String, String, String) VocabularyItem(String, String, String) VocabularyItem(String, String, String)

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

Properties

AbbreviationText AbbreviationText AbbreviationText

Gets a localized and abbreviated representation of the display text.

DisplayText DisplayText DisplayText

Gets a localized display text.

Family Family Family

Gets or sets the code family.

InfoXml InfoXml InfoXml

Gets any extra information associated with the code item.

Value Value Value

Gets or sets the code value.

Version Version Version

Gets or sets the code version.

Vocabulary Vocabulary Vocabulary

The Vocabulary to which this item belongs.

VocabularyName VocabularyName VocabularyName

Gets or sets the vocabulary name.

Methods

GetSchema() GetSchema() GetSchema()

Gets the schema.

ParseXml(XPathNavigator) ParseXml(XPathNavigator) ParseXml(XPathNavigator)

Populates the description of the code from the XML.

ReadXml(XmlReader) ReadXml(XmlReader) ReadXml(XmlReader)

Set the instance values from the specified reader.

SetInfoXml(String) SetInfoXml(String) SetInfoXml(String)

Set the InfoXml for this instance.

ToString() ToString() ToString()

Retrieves the code item as a string.

WriteXml(XmlWriter) WriteXml(XmlWriter) WriteXml(XmlWriter)

Write the instance values to the specified writer.

WriteXml(String, XmlWriter) WriteXml(String, XmlWriter) WriteXml(String, XmlWriter)

Writes the vocabulary item to the specified XML writer.

Applies to