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