Gets or sets the number of objects in a collection.
HRESULT IHTMLAreasCollection::get_length(long *p);HRESULT IHTMLAreasCollection::put_length(long v);
- Pointer to a variable of type long that receives the number of objects.
- long that specifies the number of objects.
Returns S_OK if successful, or an error value otherwise.
This property is read-write on the areas collection for image maps and the options collection for select boxes. This allows a developer to shrink the collection.
As of Windows Internet Explorer 8, this property is read-only in the IHTMLAreasCollection4 object .
In Microsoft Internet Explorer 6 and later, this property applies to the comment object.