System::Globalization::Calendar::ReadOnly method

Calendar::ReadOnly method

Gets read only version of calendar.

static CalendarPtr System::Globalization::Calendar::ReadOnly(const CalendarPtr &calendar)
ParameterTypeDescription
calendarconst CalendarPtr&Calendar to get read only version of.

ReturnValue

Same calendar if it is read only or a copy of it with read-only flag set.

See Also