[This documentation is preliminary and is subject to change.]
Dynamically imports an element behavior.
HRESULT retVal = object.doImport(bstrImplementationUrl);
There are no standards that apply here.
- 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.
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: 6/6/2012