IRuntimeClassInfoProvider Interface

The IRuntimeClassInfoProvider interface is implemented by DTCs that want to describe a hierarchy of type information to Visual InterDev. Hierarchies are described for a particular scenario. Scenarios are identified by name.

Scenarios might be Client or Server but are determined by the DTC and Visual InterDev. Each scenario describes a unique namespace.

This interface exposes the GetRuntimeClassInfo method and the GetSupportedScenarios method.

Note   The list of names is not defined by this SDK.

For example, a DTC might output the following run-time text to the document:

<SCRIPT LANGUAGE=JAVASCRIPT>
ReviewObject = new ReviewObjectConstructor()
</SCRIPT>

At design time, the DTC can provide the properties and methods of the JavaScript object being created to the host. It does this by implementing the IRuntimeClassInfoProvider interface and returns a RuntimeClassInfoAuthor object that contains its object model.