start method
Gets the start of the time range by using the specified index.
![]() ![]() |
Syntax
HRESULT retVal = object.start(index, startTime);
Parameters
- index [in]
-
Type: long
The zero-based index of the item in the collection.
- startTime [out, retval]
-
Type: VARIANT
The start position of the range, in seconds, from the beginning of the timeline.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Exceptions
| Exception | Condition |
|---|---|
|
The specified index is out of range. Versions earlier than Internet Explorer 10 will throw the exception as INDEX_SIZE_ERR. |
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.11
Remarks
Time ranges do not overlap. The IHTMLTimeRanges::start time is guaranteed to be greater than the IHTMLTimeRanges::end of the range that precedes it.
See also
- Reference
- IHTMLTimeRanges::end
- IHTMLTimeRanges::length
Build date: 11/12/2012

