====== 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 ==== var pItem = WshArguments.Item(nIndex); ==== Visual Basic Script ==== pItem = WshArguments.Item nIndex ==== C++ ==== VARIANT Item; HRESULT hr = WshArguments.get_Item(nIndex, &Item); ===== See Also ===== [[:scripting:api:wsh-arguments:start|IWshArguments]] ~~NOTOC~~