length property
Retrieves the length of the key/value list.
![]() ![]() |
Syntax
HRESULT value = object.get_length(* p);
Property values
Type: long
The number of items in the collection.
Standards information
- Web Storage, Section 4.1
Den här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk support.
Retrieves the length of the key/value list.
![]() ![]() |
HRESULT value = object.get_length(* p);
Type: long
The number of items in the collection.