Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Invoked by MSHTML when an element behavior is created in Microsoft Internet Explorer 6 and later versions.
Syntax
HRESULT retVal = object.CreateWithImplementation(pNamespace, bstrImplementation);
Parameters
pNamespace [in]
Type: IElementNamespaceA pointer to the IElementNamespace that owns the element behavior.
bstrImplementation [in]
Type: BSTRThe implementation name for the behavior or the URN, for a host-provided namespace. This value can also be NULL.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
IElementNamespaceFactory2::CreateWithImplementation was introduced in Internet Explorer 6.
If the IElementNamespaceFactory2 interface is implemented by the host, the CreateWithImplementation method is called by MSHTML instead of IElementNamespaceFactory::Create.