Vocabulary Vocabulary Vocabulary Class

Definition

Vocabulary list

public class Vocabulary : System.Collections.Generic.Dictionary<string,Microsoft.Health.VocabularyItem>, System.Xml.Serialization.IXmlSerializable
type Vocabulary = class
    inherit Dictionary<string, VocabularyItem>
    interface IXmlSerializable
Public Class Vocabulary
Inherits Dictionary(Of String, VocabularyItem)
Implements IXmlSerializable
Inheritance
VocabularyVocabularyVocabulary
Derived
Implements

Constructors

Vocabulary(String) Vocabulary(String) Vocabulary(String)

Create a new instance of the Vocabulary class with the specified name

Vocabulary(String, String, String) Vocabulary(String, String, String) Vocabulary(String, String, String)

Create a new instance of the Vocabulary class with the specified name, family, and version

Properties

Culture Culture Culture

Gets or sets culture information containing the language in which the vocabulary items are represented.

Family Family Family

Gets the family of the vocabulary.

IsNotEmpty IsNotEmpty IsNotEmpty

Gets if the vocabulary contains none empty member.

IsTruncated IsTruncated IsTruncated

Gets if the set vocabulary items in the Vocabulary has been truncated i.e. there could be more VocabularyItems in the Vocabulary.

IsTruncted IsTruncted IsTruncted

Gets if the set vocabulary items in the Vocabulary has been truncated i.e. there could be more VocabularyItems in the Vocabulary.

Name Name Name

Gets the name of the Vocabulary.

Version Version Version

Gets the version of the Vocabulary.

Methods

Add(VocabularyItem) Add(VocabularyItem) Add(VocabularyItem)

Adds a vocabulary item to the vocabulary.

GetSchema() GetSchema() GetSchema()

GetSchema method for serialization

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

Serialization method to read the Xml from the reader and deserialize the instance.

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

Write the serialized version of the data to the specified writer.

Applies to