SPRegionalSettings Members

Include Protected Members
Include Inherited Members

Represents regional settings that are used on the server that is running Microsoft SharePoint Foundation.

The SPRegionalSettings type exposes the following members.

Constructors

  Name Description
Public method SPRegionalSettings(SPWeb) Initializes a new instance of the SPRegionalSettings class for the specified Web site.
Public method SPRegionalSettings(SPWeb, Boolean) Initializes a new instance of the SPRegionalSettings class based on the specified Web site.

Top

Properties

  Name Description
Public property AdjustHijriDays Gets or sets the number of days to extend or reduce the current month in Hijri calendars.
Public property AlternateCalendarType Gets or sets an alternate calendar type that is used on the server.
Public property AM Gets the string that is used to represent A.M. on the server.
Public property CalendarType Gets or sets the calendar type that is used on the server.
Public property Collation Gets or sets the collation that is used on the site.
Public property CollationLCID Gets the locale identifier (LCID) for the collation rules that are used on the site.
Public property DateFormat Gets the date format that is used on the server.
Public property DateSeparator Gets the separator that is used for dates on the server.
Public property DecimalSeparator Gets the separator that is used for decimals on the server.
Public property DigitGrouping Gets the separator that is used in grouping digits.
Public property FirstDayOfWeek Gets or sets the first day of the week used in calendars on the server.
Public property FirstWeekOfYear Gets or sets the first week of the year used in calendars on the server.
Public propertyStatic member GlobalInstalledLanguages Gets the collection of language packs that are installed on the server.
Public propertyStatic member GlobalServerLanguage Gets the language in which SharePoint Foundation was originally installed.
Public propertyStatic member GlobalTimeZones Gets the time zones that are recognized on the server that is running SharePoint Foundation.
Public property InstalledLanguages Gets the collection of languages installed on Web servers in the farm.
Public property IsEastAsia Gets a Boolean value that indicates whether the Web site locale is an East Asian locale.
Public property IsRightToLeft Gets a Boolean value that indicates whether the Web site locale uses a right-to-left language.
Public property IsUIRightToLeft Gets a Boolean value that indicates whether the Web site user interface (UI) uses a right-to-left language.
Public property LocaleId Gets or sets the locale ID in use on the server.
Public property Locales Gets the collection of locales used in a server farm.
Public property NegativeSign Gets the symbol that is used to represent a negative sign on the server.
Public property NegNumberMode Gets the negative number mode that is used for displaying negative numbers in calculated fields based on the locale of the server.
Public property PM Gets the string that is used to represent P.M. on the server.
Public property PositiveSign Gets the symbol that is used to represent a positive sign on the server.
Public property ServerLanguage Gets the language that is used on the virtual server.
Public property ShowWeeks Gets or sets a Boolean value that specifies whether to display the week number in day or week views of a calendar.
Public property ThousandSeparator Gets the thousand separator used for numbers on the server.
Public property Time24 Gets or sets a Boolean value that specifies whether to use a 24-hour time format in representing the hours of the day.
Public property TimeMarkerPosition Gets a value that indicates whether A.M. and P.M. appear before or after the time string.
Public property TimeSeparator Gets the time separator that is used on the server.
Public property TimeZone Gets the time zone that is used on the server.
Public property TimeZones Gets the collection of time zones used in a server farm.
Public property WorkDayEndHour Gets or sets the default hour at which the work day ends on the calendar that is in use on the server.
Public property WorkDays Gets or sets a number that represents the work days of Web site calendars.
Public property WorkDayStartHour Gets or sets the default hour at which the work day starts on the calendar that is in use on the server.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetDefaultCalendarType Returns the default calendar type for the specified locale ID.
Public method GetDefaultCollation Returns the default collation used on the site based on the specified locale identifier (LCID).
Public method GetDefaultTime24 Returns a Boolean value that specifies whether the 24-hour time format is the default format for representing time on the site.
Public method GetHashCode (Inherited from Object.)
Public method GetTimeZoneID Returns the ID of the time zone used on the site based on the specified time zone settings.
Public method GetType (Inherited from Object.)
Public methodStatic member IsRightToLeftLocale Returns a Boolean value that indicates whether the locale ID represents a right-to-left language.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPRegionalSettings Class

Microsoft.SharePoint Namespace