by
0
6
1,230
0
Top 1% !
Famous
Easy-to-find
Specified
Refined
OpenSource
Popularity: 21191st place

Published on:

InputName0contactsFolder
InputName1name
InputType0Folder
InputType1String
LanguageCSharp
LicenseMIT_X11
MethodNameGetContactsByBirthdayAndAnniversary
OSWindows
OutputTypeList<Contact>

GetContactsByBirthdayAndAnniversary: This method gets the contacts that have the Birthday and WeddingAnniversary property              definition in the special folder.

<summary>
This method gets the contacts that have the Birthday and WeddingAnniversary property   
definition in the special folder.
</summary>
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/287301/GetContactsByBirthdayAndAnniversary--Thi?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Exchange.WebServices.Data; using System.IO; using System.Data; using System.Globalization; using System.Collections.ObjectModel; /// <summary> /// This method gets the contacts that have the Birthday and WeddingAnniversary property /// definition in the special folder. /// </summary> public static List<Contact> GetContactsByBirthdayAndAnniversary(Folder contactsFolder, String name) { if (contactsFolder == null) { return null; } return GetContacts(contactsFolder, name, ContactSchema.Birthday, ContactSchema.WeddingAnniversary); }
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus