Click to return to the Reusing Browser Technology home page    
IMarkupServices::Copy Met...     IMarkupServices::CreateMa...     IMarkupServices Interface    
Web Workshop  |  Reusing Browser Technology

IMarkupServices::CreateElement Method


Creates an element with the specified tag.

Syntax

HRESULT CreateElement(
    ELEMENT_TAG_ID tagID,
    OLECHAR *pchAttributes,
    IHTMLElement **ppElement
);

Parameters

tagID
ELEMENT_TAG_ID enumeration that specifies the type of tag to create.
pchAttributes
Address of an OLECHAR structure that specifies the attributes of the element.
ppElement
Address of a pointer to an IHTMLElement interface that returns the newly created element.

Return Value

Returns S_OK if successful, or an error code otherwise.

See Also

CloneElement


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.