Пример #1
0
        private void TestDescription()
        {
            StringBuilder sb = null;
            int           i  = 0;

            m_pProfile.SetDescription("moo2");
            m_pProfile.GetDescription(sb, ref i);

            sb = new StringBuilder(i);
            m_pProfile.GetDescription(sb, ref i);
            Debug.Assert(sb.ToString() == "moo2");
        }