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:ranges:start|IRanges]] ===== Description ===== Returns item by index ===== Parameters ===== * [[scripting:api:data-type:long|long]] **nIndex** ==== Return Value ==== * [[:scripting:api:range:overview|IRange]] **pRange** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pRange = Ranges.Item(nIndex); </code>==== Visual Basic Script ==== <code vb> pRange = Ranges.Item nIndex </code>==== C++ ==== <code cpp> CComPtr<IRange> pRange; HRESULT hr = Ranges.get_Item(nIndex, &Range); </code>===== See Also ===== [[:scripting:api:ranges:start|IRanges]] ~~NOTOC~~