IDataFunctions_4_0::get_CurrencySymbol, put_CurrencySymbol
The CurrencySymbol property is a read/write string Variant that stores the currency symbol to use if the currency symbol parameter is not specified in the ConvertStringToCurrency and LocalizeCurrency methods. The default value is the system default currency symbol.
Definition
Get method:
HRESULT IDataFunctions_4_0::get_CurrencySymbol(VARIANT*CurrencySymbol);
Put method:
HRESULT IDataFunctions_4_0::put_CurrencySymbol(VARIANTCurrencySymbol);
Parameters
CurrencySymbol
[in] When putting the property, a string VARIANT that contains the currency symbol.
[out, retval] When getting the property, a pointer to a string VARIANT used to return the currency symbol.
Return Values
These methods return an HRESULT indicating whether they completed successfully. See the Error Values section for more details.
Error Values
These methods return S_OK (0x00000000) to indicate success and standard COM HRESULT error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object, which can be accessed using the API function GetErrorInfo. In particular, the GetDescription method of the IErrorInfo interface may return a text description of the error.
Remarks
When getting the property, the CurrencySymbol parameter contains valid data only if the property is accessed successfully.
For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.
See Also
IDataFunctions_4_0::ConvertStringToCurrency