Share via


AppointmentRecurrence.TimeZone Property

Definition

Gets or sets the time zone for the recurrence.

public:
 property Platform::String ^ TimeZone { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring TimeZone();

void TimeZone(winrt::hstring value);
public string TimeZone { get; set; }
var string = appointmentRecurrence.timeZone;
appointmentRecurrence.timeZone = string;
Public Property TimeZone As String

Property Value

String

Platform::String

winrt::hstring

The time zone for the recurrence.

Windows requirements

App capabilities
appointmentsSystem

Remarks

StartTime is projected to type DateTimeOffset in C# and JavaScript and DateTime in C++. Because these types represents absolute point in time, setting the TimeZone of the recurrence will not change what time the appointment occurs. This field can be used by your app's UI to simply show the time zone value or to localize the appointment time to the time zone.

Applies to