Previous in Contents Next in Contents

IDictionary::get_Value

The get_Value method retrieves the value of the specified Dictionary element.

Syntax

HRESULT get_Value(
BSTRbstrName,// in
VARIANT *pvarNew// out, retval
);

Parameters

bstrName
The name of the Dictionary element for which to retrieve a value.
pvarNew
The address of a VARIANT to which get_Value returns the value of the element specified by bstrName.

Include File

<commerce.h>

Return Value

If successful, this method returns S_OK. Otherwise, it returns an HRESULT indicating failure, and the pvarNew out-value is set to NULL.

Related Topic

IDictionary::put_Value


© 1997-2000 Microsoft Corporation. All rights reserved.