Answer Methods
The Answer type exposes the following members.
Methods

  NameDescription
Public methodApplyValueMutator 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.
Public methodClear
Clears the answer.
Public methodDeleteIteration
Deletes an answer at the specified indexes.
Public methodEnumerateValues
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.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Public methodGetAnswered
Indicates whether (or not) a value is available at the indicated repeat indices.
Public methodGetChildCount
Indicates the number of child values at the specified repeat index.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetSiblingCount
Indicates the number of sibling values for the specified repeat index.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetUserModifiable
Indicates whether (or not) a value should be modifiable by the user in the interview UI.
Public methodGetValue( Int32 )
Gets the specified value.
Public methodGetValue T ( Int32 )
This method returns a specific value from an answer.
Public methodInitValue T 
Initializes the value for an answer.
Public methodInsertIteration
Inserts an answer at the specified indexes.
Public methodMoveIteration
Moves an answer value from one repeat index to another.
Public methodSetValue T 
Sets the value for an answer.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodWriteXml
Writes an answer to XML.
Back to Top
See Also