IHTMLElementCollection::length Property
Gets or sets the number of objects in a collection.
Syntax
HRESULT IHTMLElementCollection::get_length(long *p);HRESULT IHTMLElementCollection::put_length(long v);
Parameters
- p
- Pointer to a variable of type long that receives the number of objects.
- v
- long that specifies the number of objects.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
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.