item Property
Returns a prefix from the indicated index in the prefixes collection. The index begins at 0.
[Script]
Script Syntax
var strValue = objNSPrefixes.item(intIndex);
Parameters
- intIndex
- A long integer. The index of the item within the prefixes collection. The index starts at 0.
[Visual Basic]
Visual Basic Syntax
strValue = objNSPrefixes.item(intIndex)
Parameters
- intIndex
- A long integer. The index of the item within the prefixes collection. The index starts at 0.
[C/C++]
C/C++ Syntax
HRESULT get_item( long index, BSTR* prefix);
Parameters
- index[in]
- A long integer. The index of the item within the prefixes collection. The index starts at 0.
- prefix[out,retval]
- The return value of the prefix.
C/C++ Return Values
- S_OK
- The value returned if successful.
- E_POINTER
- The value returned if the
prefix
value is NULL. - E_FAIL
- The value returned if the
index
value is out of bounds.
To view reference information for Visual Basic, C/C++, or Script only, click the Language Filter button in the upper-left corner of the page.
See Also
Applies to: IMXNamespacePrefixes