共用方式為


form property

Retrieves a reference to the form that the object is embedded in.

 

Syntax

HRESULT value = object.get_form(IHTMLFormElement** p);

Property values

Type: Object

The form.

Standards information

Remarks

Null is returned if the object is not on a form.

In Microsoft Internet Explorer 6, This property now applies to the fieldSet, isIndex, label, and legend elements.