IHTMLDoc::CreateComponent Method
Inserts an HTML. Used to insert regular HTML elements or WebComponents with custom elements.
IDL
[id(0x000000CD)]
HRESULT _stdcall CreateComponent([in] BSTR Id, [in] BSTR Html, [in] __int64 ReplaceWnd);
Group
IHTMLDoc Methods