NumericMultiValueTextElementT

NumericMultiValueTextElement<T> class

Encapsulates basic functionality for multivalued text VRs that holds a number.

public abstract class NumericMultiValueTextElement<T> : MultiValueTextElement
    where T : struct
ParameterDescription
TType of numeric value.

Properties

NameDescription
override Count { get; }The number of elements contained in this element. Read-only Int32.
Data { get; }Multivalued Data Element value. Read-only IReadOnlyCollection of String.
Tag { get; }
abstract ValueRepresentation { get; }

Methods

NameDescription
Add(string)Adds the given value to the collection of values of this element.
AddRange(IEnumerable<string>)Adds the given values to the collection of values of this element.
override Get<T>(Index)
override Get<T>(int)
GetNumbers()Returns numbers stored in the element. Supplements the data property.
override GetOrDefault<T>(Index)
override GetOrDefault<T>(int)
override GetValues<T>()
override GetValues<T>(Range)
Insert(int, string)Inserts the given value into this element at a given index. The size of the list is increased by one.
Remove(string)Removes the first occurrence of a specific value from the element.
RemoveAt(int)Removes the value at the specified index of the element.
Replace(IEnumerable<string>)Replaces the current values by the collection of the given values.
override ToString()
override TryGetValue<T>(Index, out T)
override TryGetValue<T>(int, out T)

See Also