scripting:api:undo-items:count

Count

Property of IUndoItems

Returns number of items in collection

Read-Only Property of type long

var nVal = UndoItems.Count;
nVal = UndoItems.Count
long nVal;
HRESULT hr = UndoItems.get_Count(&nVal);