IDictionary::GetMultiple

The GetMultiple method returns the values of IDictionary elements that you specify.

Syntax

HRESULT GetMultiple(
longcb,//in
const LPOLESTRrgolestr[],// in
VARIANTrgvar[]// out
);

Parameters

cb
A long integer that specifies the number of values to retrieve.
rgolestr
An array of string values that identify the IDictionary elements for which the values should be retrieved.
rgvar
An array of VARIANTs. When GetMultiple returns, this array contains the values associated with the IDictionary elements identified by the rgolestr array.

Include File

<commerce.h>

Return Value

If successful, this method returns S_OK. Otherwise, it returns an HRESULT indicating failure, and the VARIANT array out-value is empty.

Note

Attempting to use this method from VBScript fails because this method requires data type that VBScript does not support.

Related Topic

IDictionary::get_Value


© 1997-1998 Microsoft Corporation. All rights reserved.