The Answer type exposes the following members.
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
![]() | ApplyValueMutator T |
ApplyValueMutator uses the Visitor design pattern to modify all the values associated with this answer
by applying the ValueMutator delegate, in turn, to each value. This can be useful if you want to
apply the same modification to all values in an answer, such as marking all of them userModifiable=false.
|
![]() | Clear |
Clears the answer.
|
![]() | DeleteIteration |
Deletes an answer at the specified indexes.
|
![]() | EnumerateValues |
EnumerateValues uses the Visitor design pattern to enumerate all the values associated with this answer.
For each value that is part of the answer, the supplied state object is passed to the supplied callback
method, along with the repeat indices for that value. The callback must be a delegate of type ValueEnumerationDelegate.
|
![]() | ![]() | (Inherited from ![]() |
![]() | GetAnswered |
Indicates whether (or not) a value is available at the indicated repeat indices.
|
![]() | GetChildCount |
Indicates the number of child values at the specified repeat index.
|
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | GetSiblingCount |
Indicates the number of sibling values for the specified repeat index.
|
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | GetUserModifiable |
Indicates whether (or not) a value should be modifiable by the user in the interview UI.
|
![]() | GetValue( Int32 ) |
Gets the specified value.
|
![]() | GetValue T ( Int32 ) |
This method returns a specific value from an answer.
|
![]() | InitValue T |
Initializes the value for an answer.
|
![]() | InsertIteration |
Inserts an answer at the specified indexes.
|
![]() | MoveIteration |
Moves an answer value from one repeat index to another.
|
![]() | SetValue T |
Sets the value for an answer.
|
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | WriteXml |
Writes an answer to XML.
|
Properties
Name | Description | |
---|---|---|
![]() | IndexedValues |
IndexedValues provides a simple way to enumerate (and potentially modify) the values associated with an answer.
|
![]() | IsRepeated |
Indicates whether this answer is repeated or not.
|
![]() | Name |
The answer name. Corresponds to a HotDocs variable name.
|
![]() | Save |
When HotDocs saves a collection of answers as an Answer File, this flag determines whether this specific answer
will be saved or not. If true (the default), the answer will be saved. If false, this answer will be
ignored/dropped and will not be persisted with the rest of the answers in the AnswerCollection.
|
![]() | Type |
The type of value that is stored in this answer.
|
![]() | UserExtendible |
For answers containing repeated values, indicates whether end users should be allowed to add/delete/move
repeat iterations in the interview UI (default is true).
|
See Also