CodableValue Members

HealthVault

The CodableValue type exposes the following members.

  NameDescription
Public method CodableValue()()()()
Constructs a CodableValue with empty values.
Public method CodableValue(String)
Constructs a CodableValue with an initial value for the Text.
Public method CodableValue(String, CodedValue)
Constructs a CodableValue with an initial value for the Text and the specified code.
Public method CodableValue(String, VocabularyItem)
Constructs a CodableValue based on display value and a VocabularyItem.
Public method CodableValue(String, String, VocabularyKey)
Creates a new instance of the CodableValue class with the specified text, code value, and vocabulary key.
Public method CodableValue(String, String, String, String, String)
Creates a new instance of the CodableValue class with the specified text, code value, vocabulary name, family, and version.

  NameDescription
Public method Add(CodedValue)
Adds an item to the code list.
Public method Add(VocabularyItem)
Encodes a VocabularyItem as a CodedValue and adds it to the list of coded values.
Public method Clear
Removes all items from the code item list
Public method Contains
Gets a value indicating whether the code item list contains a specific code.
Public method CopyTo
Copies the elements of the code item list to an array, starting at a particular array index.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetEnumerator
Returns an enumerator that iterates through the collection.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexOf
Determines the index of a specific item
Public method Insert
Inserts an code item at the specified index.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ParseXml
Populates the data for the vocabulary entry from the XML.
(Overrides HealthRecordItemData..::..ParseXml(XPathNavigator).)
Public method Remove
Removes the first occurrence of this code item from the code item list.
Public method RemoveAt
Removes a code item at the specified index.
Public method ToString
Gets the string representation of a codable value.
(Overrides Object..::..ToString()()()().)
Public method WriteXml
Writes the vocabulary entry to the specified XML writer.
(Overrides HealthRecordItemData..::..WriteXml(String, XmlWriter).)

  NameDescription
Public property Count
Gets the number of code items
Public property IsReadOnly
Gets a value indicating whether the code item list is read-only.
Public property Item
Gets or sets the element at the specified index.
Public property Text
Gets or sets the value of the codable value.
Show: