Share via


ImportExtension.OverrideConfigurationDataFileLanguage Method

Definition

Allows the currently selected language for data import to be overridden by a user selection. if the LCID is not found, the developer selection is ignored and the default language import is used.

public:
 virtual int OverrideConfigurationDataFileLanguage(int selectedLanguage, System::Collections::Generic::List<int> ^ availableLanguages);
public virtual int OverrideConfigurationDataFileLanguage (int selectedLanguage, System.Collections.Generic.List<int> availableLanguages);
abstract member OverrideConfigurationDataFileLanguage : int * System.Collections.Generic.List<int> -> int
override this.OverrideConfigurationDataFileLanguage : int * System.Collections.Generic.List<int> -> int
Public Overridable Function OverrideConfigurationDataFileLanguage (selectedLanguage As Integer, availableLanguages As List(Of Integer)) As Integer

Parameters

selectedLanguage
Int32

Current LCID that will be used for import, if 0 then default will be used.

availableLanguages
List<Int32>

List of languages that are in the package.

Returns

Requested LCID to be used. if 0, the default will be used. if the requested LCID is not found, a warning will be logged and the default language will be used.

Implements

Applies to