WorkSession GetCurrentInterview Method (InterviewFormat)
This constructor accepts a value for the interview format in case the host application wants to have more control over which format to use other than the one format specified in web.config. For example, the host application can detect whether or not the user's browser has Silverlight installed, and if not, it can choose to fall back to JavaScript interviews even if its normal preference is Silverlight.

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

public InterviewResult GetCurrentInterview(
	InterviewFormat format
)

Parameters

format
Type: HotDocs.Sdk.Server.Contracts InterviewFormat
The format (Silverlight or JavaScript) of interview being requested.

Return Value

Type: InterviewResult
An InterviewResult, containing the HTML fragment and any other supporting files required by the interview.
See Also