This topic has not yet been rated - Rate this topic

end method

Returns the end of the time range by using the specified index.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.11Internet Explorer 9

Syntax


HRESULT retVal = object.end(index, endTime);

Parameters

index [in]

Type: long

The zero-based index of the item in the collection.

endTime [out, retval]

Type: VARIANT

The end 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

ExceptionCondition
IndexSizeError

The specified index is out of range. Versions earlier than Internet Explorer 10 will throw the exception as INDEX_SIZE_ERR.

Standards information

Remarks

Time ranges do not overlap. The IHTMLTimeRanges::end time is guaranteed to be less than the IHTMLTimeRanges::start of the range that follows it.

See also

Reference
IHTMLTimeRanges::start
IHTMLTimeRanges::length

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.