====== Item ====== Method of [[:scripting:api:scopes:start|IScopes]] ===== Description ===== Returns item by index ===== Parameters ===== * [[scripting:api:data-type:long|long]] **nIndex** ==== Return Value ==== * [[:scripting:api:scope:start|IScope]] **ppScope** ===== Syntax ===== ==== JavaScript ==== var ppScope = Scopes.Item(nIndex); ==== Visual Basic Script ==== ppScope = Scopes.Item nIndex ==== C++ ==== CComPtr pScope; HRESULT hr = Scopes.get_Item(nIndex, &pScope); ===== See Also ===== [[:scripting:api:scopes:start|IScopes]] ~~NOTOC~~