예제 #1
0
        [Test] public void OpenAddressBookTest()
        {
            IEAddrBook addrBook = OutlookSession.GetAddrBook();

            Assert.IsNotNull(addrBook);
            int count = addrBook.GetCount();

            for (int i = 0; i < count; ++i)
            {
                IEABContainer ab = addrBook.OpenAB(i);
                Assert.IsNotNull(ab);
                using ( ab )
                {
                }
            }
        }