Share via


IPersistDictionary::Load Method

This method should load data from a Dictionary object.

HRESULT Load(
    IDispatch* pdispDict
);

Parameters

  • pdispDict
    [in] A pointer to the IDictionary interface of the Dictionary object from which the data should be loaded.

Return Value

This method must return the HRESULT value S_OK to indicate success, and should generally return one of the standard COM error values to indicate failure.

Remarks

The object typically uses the get_Value method on the IDictionary interface to retrieve VARIANT values. For more information about the IDictionary interface, see Dictionary Object.

See Also

Other Resources

IPersistDictionary Interface

IPersistDictionary::Save Method