Click to return to the Reusing Browser Technology home page    
IHTMLFormElement::get_dir...     IHTMLFormElement::get_enc...     IHTMLFormElement Interfac...    
Web Workshop  |  Reusing Browser Technology

IHTMLFormElement::get_elements Method


Retrieves an interface pointer to a zero-based collection of the elements in the form.

Syntax

HRESULT get_elements(
    IDispatch **p
);

Parameters

p
Address of a pointer to an IDispatch interface that receives the zero-based collection of the elements in the form.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The pointer provides access to the properties and methods of the elements. The order of the elements in the collection is determined by the HTML source.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


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.