DynamicContextSettings.DefaultPlace PropertyDynamicContextSettings.DefaultPlace PropertyDynamicContextSettings::DefaultPlace Property

Gets or sets the default place.

Syntax

Public Property DefaultPlace As String
        Get
        Set(ByVal value As String)
public string DefaultPlace { get; set; }
public:
property String^ DefaultPlace {
    String^ get();
    void set(String^ value);
}
 

Property Value

Type: System.StringSystem.StringSystem::String^

The default place to be used when formatting dates.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionRaised if the property is set to null a null reference (Nothing in Visual Basic) nullptr.

Remarks

This is a geographical location used to identify the place where events happened (or will happen) when formatting dates and times using functions such as fn:format-date and fn:format-dateTime, if no other place is specified. It is used when translating timezone offsets to civil timezone names, and when using calendars where the translation from ISO dates/times to a local representation is dependent on geographical location.

The default value is determined by the value of the IetfLanguageTagIetfLanguageTagIetfLanguageTag property of the CurrentCultureCurrentCultureCurrentCulture.