Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Creates an instance of the element object for the specified tag. Only new IMG and OPTION objects can be created. Before they can be used, new objects must be explicitly added to their respective collections.
Syntax
HRESULT createElement( BSTR eTag, IHTMLElement **newElem );
Parameters
- eTag
- String value specifiying the type of element to create.
- newElem
- Address of a pointer to the IHTMLElement interface of the new element.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
IHTMLDocument2
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.