Share via


Contact.Birthdays Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the birthdays associated with this contact.

Namespace:  Microsoft.Phone.UserData
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Public ReadOnly Property Birthdays As IEnumerable(Of DateTime)
public IEnumerable<DateTime> Birthdays { get; }

Property Value

Type: System.Collections.Generic..::.IEnumerable<(Of <(DateTime>)>)
The birthdays associated with this contact.

Remarks

If a birthday does not contain the year, the year is set to 1 by default.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

Contact Class

Microsoft.Phone.UserData Namespace

Other Resources

Contacts and Calendar for Windows Phone 8

How to access contact data for Windows Phone 8