IHTMLMSPerformanceTimingMeasures::msStyleContentLoaded Property
.png)
[This documentation is preliminary and is subject to change.]
Measures the time required to load the Document Object Model (DOM) and the Cascading Style Sheets (CSS) content for the document that is loaded into the window object.
Syntax
HRESULT IHTMLMSPerformanceTimingMeasures::get_msStyleContentLoaded(ULONGLONG *p);
Parameters
- p
The time required to load the content or0if the page failed to load.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
When you evaluate the value of the IHTMLMSPerformanceTimingMeasures::msStyleContentLoaded property, make sure that the document has fully loaded; otherwise, the property might return a value of zero (
0).The time measured by the IHTMLMSPerformanceTimingMeasures::msStyleContentLoaded property is the difference between the IHTMLMSPerformanceTiming::navigationStart and the IHTMLMSPerformanceTiming::msStyleContentLoaded properties of the window.msPerformance.timing property.
For a list of other performance measures and the order in which they occur, see the IHTMLMSPerformanceTimingMeasures interface.
See Also
MSPerformanceTiming, IHTMLMSPerformanceTiming::domLoading, IHTMLMSPerformanceTiming::msStyleContentLoaded