====== Count ====== Property of [[:scripting:api:name-values:start|INameValues]] ===== Description ===== Returns number of items in collection ===== Property type ===== Read-Only Property of type **[[scripting:api:data-type:long|long]]** ===== Syntax ===== ==== JavaScript ==== var nVal = NameValues.Count; ==== Visual Basic Script ==== nVal = NameValues.Count ==== C++ ==== long nVal; HRESULT hr = NameValues.get_Count(&nVal); ===== See Also ===== [[:scripting:api:name-values:start|INameValues]] ~~NOTOC~~