IDataModelScriptHostContext::GetNamespaceObject method (dbgmodel.h)

The GetNamespaceObject method returns an object into which the script provider can place any bridges between the data model and the script. It is here, for instance, that the script provider might place data model method objects (IModelMethod interfaces boxed into IModelObject) whose implementation calls into correspondingly named functions in the script.

Syntax

HRESULT GetNamespaceObject(
  IModelObject **namespaceObject
);

Parameters

namespaceObject

A data model object which can be used as the representation of the namespace of the script.

Return value

This method returns HRESULT which indicates success or failure.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDataModelScriptHostContext interface