Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a prefix from the indicated index in the prefixes collection. The index begins at 0.
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 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++ 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.
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.
Versioning
Implemented in: MSXML 6.0.