end method
[This documentation is preliminary and is subject to change.]
Returns the end of the time range by using the specified index.
![]() ![]() |
Syntax
HRESULT retVal = object.end(index, );
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.11
Parameters
index [in]
Type: longThe zero-based index of the item in the collection.
endTime [out, retval]
Type: VARIANTThe end position of the range, in seconds, from the beginning of the timeline.
Return value
Type: HRESULT
This method can return one of these values.
| Return code | Description |
|---|---|
| S_OK | The operation completed successfully. |
| W3CException_DOM_INDEX_SIZE_ERR | The specified index is out of range. |
Remarks
Time ranges do not overlap. The end time is guaranteed to be less than the start of the range that follows it.
See also
Reference
Build date: 1/26/2012
.png)
.png)