The TextValue type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
        Constructors
| Name | Description | |
|---|---|---|
| TextValue(String) | 
            TextValue constructor
              | |
| TextValue(String, Boolean) | 
            TextValue constructor
              | 
Methods
| Name | Description | |
|---|---|---|
| Equals | 
            Equals description
              (Overrides  | |
| GetHashCode | 
            Gets a hash code for the value.
              (Overrides  | |
Gets the   (Inherited from  | ||
| GetTypeCode | 
            Gets the type of value.
              | |
| ToBoolean | 
            Converts the value to a boolean
              | |
| ToByte | 
            Converts the value to a byte.
              | |
| ToChar | 
            Converts the value to a char.
              | |
| ToDateTime | 
            Converts the value to a DateTime.
              | |
| ToDecimal | 
            Converts the value to a decimal.
              | |
| ToDouble | 
            Converts the value to a double.
              | |
| ToInt16 | 
            Converts the value to a 16-bit (short) integer.
              | |
| ToInt32 | 
            Converts the value to a 32-bit integer.
              | |
| ToInt64 | 
            Converts the value to a 64-bit integer.
              | |
| ToSByte | 
            Converts the value to an sbyte.
              | |
| ToSingle | 
            Converts the value to a float.
              | |
| ToString | 
            Convert to string. 
              (Overrides  | |
| ToString(IFormatProvider) | 
            Converts the value to a string.
              | |
| ToType | 
            Converts the value to the specified type.
              | |
| ToUInt16 | 
            Converts the value to ushort.
              | |
| ToUInt32 | 
            Converts the value to a uint.
              | |
| ToUInt64 | 
            Converts the value to a ulong.
              | |
| WriteXml | 
            Writes the XML representation of the answer.
              | 
Operators
| Name | Description | |
|---|---|---|
| (String to TextValue) | 
            User-defined implicit conversion from string to TextValue
              | |
| (MultipleChoiceValue to TextValue) | 
            User-defined implicit conversion from MultipleChoiceValue to TextValue
              | 
Fields
| Name | Description | |
|---|---|---|
| Unanswered | 
            Static (shared) instance of an unanswered TextValue.
              | |
| UnansweredLocked | 
            Static (shared) instance of an unanswered TextValue that should be protected from unintentional modification in the interview UI.
              | 
Properties
| Name | Description | |
|---|---|---|
| IsAnswered | 
            Indicates if the value is answered.
              | |
| Type | 
            Indicates the value type.
              | |
| UserModifiable | 
            Indicates whether the value should be modifiable by an end user in the interview UI (default is true).
              | |
| Value | 
            Indicates the value.
              | 
See Also