IixssoUtil::GetArrayElement method
[Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.]
Accesses a variant array element.
Syntax
HRESULT GetArrayElement(
[in] VARIANT *pVarIn,
[in] LONG iElement,
[out, retval] VARIANT *pVarOut
);
Parameters
-
pVarIn [in]
-
An array containing a singly dimensioned safe array.
-
iElement [in]
-
Identifies the array element to be returned.
-
pVarOut [out, retval]
-
Receives the array element.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
If pVarIn is not a safe array, or iElement is either less than the lower limit of the array or more than its upper limit, the type returned is VT_EMPTY. This method exists due to restrictions in Visual Basic Scripting Edition (VBScript).
Requirements
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
End of client support |
Windows 7 |
End of server support |
Windows Server 2008 R2 |
DLL |
|
See also