The DateValue type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| DateValue(Nullable DateTime ) |
Constructor that uses a DateTime value.
| |
| DateValue(Nullable DateTime , Boolean) |
Constructor that uses a DateTime value.
| |
| DateValue(Int32, Int32, Int32) |
Constructor that uses three parameters for year, month, and day.
| |
| DateValue(Int32, Int32, Int32, Boolean) |
Constructor that uses three parameters for year, month, and day.
|
Methods
| Name | Description | |
|---|---|---|
| Equals |
Indicates if the DateValue is equal to another value.
(Overrides | |
| GetHashCode |
Gets a hash code for the value.
(Overrides | |
Gets the (Inherited from | ||
| GetTypeCode |
Gets the type of value.
| |
| ToBoolean |
Converts the DateValue to a boolean
| |
| ToByte |
Converts the DateValue to a byte.
| |
| ToChar |
Converts the DateValue 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 DateValue 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 DateValue to the specified type.
| |
| ToUInt16 |
Converts the DateValue 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 | |
|---|---|---|
| (DateTime to DateValue) |
DateValue summary
|
Fields
| Name | Description | |
|---|---|---|
| Unanswered |
Static (shared) instance of an unanswered DateValue.
| |
| UnansweredLocked |
Static (shared) instance of an unanswered DateValue that would 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 |
The value.
|
See Also