====== Count ======
Property of [[:scripting:api:wsh-arguments:start|IWshArguments]]
===== Description =====
Returns the number of command-line parameters belonging to a script (the number of items in an argument's collection
===== Property type =====
Read-Only Property of type **[[scripting:api:data-type:long|long]]**
===== Syntax =====
==== JavaScript ====
var nVal = WshArguments.Count;
==== Visual Basic Script ====
nVal = WshArguments.Count
==== C++ ====
long nVal;
HRESULT hr = WshArguments.get_Count(&nVal);
===== See Also =====
[[:scripting:api:wsh-arguments:start|IWshArguments]]
~~NOTOC~~