Opc.Ua.Com.Client.ComClient.SetLocale C# (CSharp) Method

SetLocale() public method

Sets the current locale.
public SetLocale ( int localeId ) : void
localeId int
return void
        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);
            }
        }