/// <summary> /// Sets the current locale. /// </summary> public void SetLocale(int localeId) { string methodName = "IOPCCommon.SetLocaleID"; try { IOPCCommon server = BeginComCall <IOPCCommon>(methodName, true); server.SetLocaleID(localeId); } catch (Exception e) { ComCallError(methodName, e); } finally { EndComCall(methodName); } }
/// <summary> /// Sets the current locale. /// </summary> public void SetLocale(IList <string> preferredLocales) { // select the best locale. int localeId = SelectLocaleId(m_availableLocaleIds, preferredLocales); string methodName = "IOPCCommon.SetLocaleID"; try { IOPCCommon server = BeginComCall <IOPCCommon>(methodName, true); server.SetLocaleID(localeId); } catch (Exception e) { ComCallError(methodName, e); } finally { EndComCall(methodName); } }
public void SetLocaleID(int p_LocalID) { m_IfCommon.SetLocaleID(p_LocalID); }