IDtRestProvider.ResultProvider

Syntax

ResultProvider: IDtProvider;

Description

The ResultProvider property returns settings of the data provider, which will handle the response from REST service.

Comments

To set up data provider, cast value of the ResultProvider property to the IDtJsonProvider interface (if ResultType = DtRestProviderResultType.Json) or the IDtXmlProvider interface (if ResultType = DtRestProviderResultType.Xml).

Example

The example of use is given in description of the IDtRestProvider.Url property.

See also:

IDtRestProvider