Dynamically imports an element behavior.
HRESULT retVal = object.doImport(bstrImplementationUrl);
- bstrImplementationUrl [in]
BSTR that specifies the URL of the element behavior to import into the namespace.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
There are no standards that apply here.
Once imported into a namespace by this method, an element behavior can be used on the document where the namespace has been declared.
Using this method alone is not enough to enable an element behavior to function on a document; it is also necessary to add a custom element to the body of the primary document, as illustrated in the following code snippet.
<body> <myns:mycustomtag/> </body>
Build date: 11/12/2012