IHTMLFormElement::get_lengthIHTMLFormElement::get_length*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLFormElement::put_length
*Next Topic: IHTMLFormElement::get__newEnum

IHTMLFormElement::get_length


HRESULT get_length(
    long *p
);

Retrieves the number of elements in a collection.

p
Address of a variable that receives the length.

This property is read-write on the areas and the options collection for image maps and select boxes, respectively. This allows a developer to shrink the collection.

See also put_length

Up Top of Page


IHTMLFormElement::put_length


HRESULT put_length(
    long v
);

Sets the number of elements in a collection.

v
Value specifying the length.

This property is read-write on the areas and the options collection for image maps and select boxes, respectively. This allows a developer to shrink the collection.

See also get_length


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.