AnswerCollection TryGetAnswer Method
Gets the answer for the specified HotDocs variable if it exists in the answer collection.

Namespace: HotDocs.Sdk
Assembly: HotDocs.Sdk (in HotDocs.Sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public bool TryGetAnswer(
	string name,
	out Answer answer
)

Parameters

name
Type: OnlineSystem String
The name of the HotDocs variable whose answer you want to retrieve.
answer
Type: HotDocs.Sdk Answer 
The Answer for the requested variable (if it exists).

Return Value

Type: OnlineBoolean
True if the answer collection contains an answer for the specified variable; otherwise, returns False.
See Also