IMsmError::get_Language method (mergemod.h)

The get_Language method retrieves the Language property of the Error object. This function returns the LANGID of the error.

Syntax

HRESULT get_Language(
  [out] short *ErrorLanguage
);

Parameters

[out] ErrorLanguage

A pointer to a location in memory that receives the language value causing this error.

Return value

This method can return one of these values.

Value Meaning
E_INVALIDARG
Language is null.
S_OK
The function succeeded.

Remarks

The function returns -1 unless the error is of type msmErrorLanguageUnsupported or msmErrorLanguageFailed. You can determine the type of error by calling IMsmError::get_Type.

Requirements

Requirement Value
Minimum supported client Mergemod.dll 1.0 or later
Target Platform Windows
Header mergemod.h
DLL Mergemod.dll

See also

Merge Module Automation