Example #1
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        /// Initialize ICU. In multi-threaded applications this should be the first ICU method
        /// that gets called, preferrably before starting multiple threads.
        /// </summary>
        /// <seealso href="http://userguide.icu-project.org/design#TOC-ICU-Initialization-and-Termination"/>
        /// ------------------------------------------------------------------------------------
        public static ErrorCode Init()
        {
            ErrorCode errorCode;

            NativeMethods.u_init(out errorCode);
            return(errorCode);
        }