Click to return to the Reusing Browser Technology home page    
IHTMLStyleSheetRulesColle...     IHTMLStyleSheetRulesColle...     IHTMLStyleSheetRulesColle...    
Web Workshop  |  Reusing Browser Technology

IHTMLStyleSheetRulesCollection::get_length Method


Returns the number of elements in a collection. This method provides the same capabilities as the length property.

Syntax

HRESULT get_length( 
    long *p 
);

Parameters

p
Address of a value that receives the number of elements in the collection. This is an integer value or a string that specifies the index value of the style sheet to retrieve. Integer indexes are zero-based, meaning the first style sheet in the collection has index 0.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.