Dynamically imports an element behavior.
HRESULT doImport( BSTR bstrImplementationUrl );
- [in] BSTR that specifies the URL of the element behavior to import into the namespace.
Returns S_OK if successful, or an error value otherwise.
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>