Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Item ====== Method of [[:scripting:api:wsh-arguments:start|IWshArguments]] ===== Description ===== Exposes a specified item from a collection ===== Parameters ===== * [[scripting:api:data-type:long|long]] **nIndex** ==== Return Value ==== * [[scripting:api:data-type:VARIANT|VARIANT]] **pItem** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pItem = WshArguments.Item(nIndex); </code>==== Visual Basic Script ==== <code vb> pItem = WshArguments.Item nIndex </code>==== C++ ==== <code cpp> VARIANT Item; HRESULT hr = WshArguments.get_Item(nIndex, &Item); </code>===== See Also ===== [[:scripting:api:wsh-arguments:start|IWshArguments]] ~~NOTOC~~