共用方式為


Regional Settings Schema

Applies to: SharePoint Foundation 2010

The Regional Settings schema is used to define the time zones, locales, languages, and currencies implemented within a SharePoint Foundation deployment. This schema is expressed primarily through two files located in the setup directory, RGNLSTNG.XML (%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\1033\XML) and TIMEZONE.XML (%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\CONFIG).

You can access or modify regional settings through various members of the following classes in the Microsoft.SharePoint namespace:

SPRegionalSettings

SPTimeZone

SPTimeZoneCollection

SPTimeZoneInformation

SPLocale

SPLocaleCollection

SPLanguage

SPLanguageCollection

Regional Settings Elements

RGNLSTNG.XML

RegionalSettings

  TimeZones

    TimeZone

  Locales

    Locale

  Languages

    Language

  Currencies

    Currency

TIMEZONE.XML

RegionalSettings

  TimeZones

    TimeZone

      Bias

      StandardTime

        Bias

        Date

            Month

            Day

            Hour

            DayOfWeek

      DaylightTime

        Bias

        Date

          Month

          Day

          Hour

          DayOfWeek

      History

        Bias

        StandardTime

          Bias

          Date

            Month

            Day

            Hour

            DayOfWeek

        DaylightTime

        Bias

        Date

          Month

          Day

          Hour

          DayOfWeek