Share via


KnownContactProperties.Anniversary Property

Definition

Gets the Anniversary property name.

public:
 static property Platform::String ^ Anniversary { Platform::String ^ get(); };
static winrt::hstring Anniversary();
public static string Anniversary { get; }
var string = KnownContactProperties.anniversary;
Public Shared ReadOnly Property Anniversary As String

Property Value

String

Platform::String

winrt::hstring

The Anniversary property name.

Windows requirements

App capabilities
ID_CAP_CONTACTS [Windows Phone]

Remarks

The value returned for the Anniversary key in a contact Properties collection is a DateTime for C++, a DateTimeOffset for C#/Visual Basic.

Applies to