_Auction::get_szLanguage, put_szLanguage
The szLanguage property is a read/write String used to store the language used by the MessageManager object when generating error messages.
Definition
Get method:
HRESULT _Auction::get_szLanguage(BSTR*szLanguage);
Put method:
HRESULT _Auction::put_szLanguage(BSTRszLanguage);
Parameters
szLanguage
[in] When putting the property, a BSTR that contains the name of the language used by the MessageManager object.
[out, retval] When getting the property, a pointer to a BSTR used to return the name of the language used by the MessageManager object.
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
For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.