## HTMLSelectElement.Form property

The number of options in this `SELECT`.

Returns the `FORM` element containing this control. Returns `null` if this control is not within the context of a form.

```csharp
public HTMLFormElement Form { get; }
```

### Exceptions

| exception | condition |
| --- | --- |
| [DOMException](../../../aspose.html.dom/domexception/) | NOT_SUPPORTED_ERR: if setting the length is not allowed by the implementation. @version DOM Level 2 |

### See Also

* class [HTMLFormElement](../../htmlformelement/)
* class [HTMLSelectElement](../)
* namespace [Aspose.Html](../../../aspose.html/)
* assembly [Aspose.HTML](../../../)
