Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var vcfTest = VCardContact.Load(@"E:\Aspose\Aspose Vs VSTO\Aspose.Emails Vs VSTO Outlook v 1.1\Sample Files\Jon.vcf");

            MapiContact contact = MapiContact.FromVCard(@"E:\Aspose\Aspose Vs VSTO\Aspose.Emails Vs VSTO Outlook v 1.1\Sample Files\Jon.vcf");

            Console.WriteLine(contact.NameInfo.DisplayName);
        }
        public static void Run()
        {
            string dataDir = RunExamples.GetDataDir_Outlook();

            // ExStart:LoadingContactFromVCard
            var         vcfTest = VCardContact.Load(dataDir + "Contact.vcf");
            MapiContact contact = MapiContact.FromVCard(dataDir + "Contact.vcf");
            // ExEnd:LoadingContactFromVCard
        }