SPRegionalSettings 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 | |
---|---|---|
SPRegionalSettings(SPWeb) | Initializes a new instance of the SPRegionalSettings class for the specified Web site. | |
SPRegionalSettings(SPWeb, Boolean) | Initializes a new instance of the SPRegionalSettings class based on the specified Web site and optioallly whether the regional settings apply only to the current user. |
Top
Properties
Name | Description | |
---|---|---|
AdjustHijriDays | Gets or sets the number of days to extend or reduce the current month in Hijri calendars. | |
AlternateCalendarType | Gets or sets an alternate calendar type that is used on the server. | |
AM | Gets the string that is used to represent A.M. on the server. | |
CalendarType | Gets or sets the calendar type that is used on the server. | |
Collation | Gets or sets the collation that is used on the site. | |
CollationLCID | Gets the locale identifier (LCID) for the collation rules that are used on the site. | |
DateFormat | Gets the date format that is used on the server. | |
DateSeparator | Gets the separator that is used for dates on the server. | |
DecimalSeparator | Gets the separator that is used for decimals on the server. | |
DigitGrouping | Gets the separator that is used in grouping digits. | |
FirstDayOfWeek | Gets or sets the first day of the week used in calendars on the server. | |
FirstWeekOfYear | Gets or sets the first week of the year used in calendars on the server. | |
GlobalInstalledLanguages | Obsolete. Gets the collection of language packs that are installed on the server. | |
GlobalServerLanguage | Gets the language in which SharePoint Foundation was originally installed. | |
GlobalTimeZones | Gets the time zones that are recognized on the server that is running SharePoint Foundation. | |
InstalledLanguages | Gets the collection of languages installed on Web servers in the farm. | |
IsEastAsia | Gets a Boolean value that indicates whether the Web site locale is an East Asian locale. | |
IsRightToLeft | Gets a Boolean value that indicates whether the Web site locale uses a right-to-left language. | |
IsUIRightToLeft | Gets a Boolean value that indicates whether the Web site user interface (UI) uses a right-to-left language. | |
ListSeparator | Gets the separator used in lists on the server. | |
LocaleId | Gets or sets the locale ID in use on the server. | |
Locales | Gets the collection of locales used in a server farm. | |
NegativeSign | Gets the symbol that is used to represent a negative sign on the server. | |
NegNumberMode | Gets the negative number mode that is used for displaying negative numbers in calculated fields based on the locale of the server. | |
PM | Gets the string that is used to represent P.M. on the server. | |
PositiveSign | Gets the symbol that is used to represent a positive sign on the server. | |
ServerLanguage | Gets the language that is used on the virtual server. | |
ShowWeeks | Gets or sets a Boolean value that specifies whether to display the week number in day or week views of a calendar. | |
ThousandSeparator | Gets the thousand separator used for numbers on the server. | |
Time24 | Gets or sets a Boolean value that specifies whether to use a 24-hour time format in representing the hours of the day. | |
TimeMarkerPosition | Gets a value that indicates whether A.M. and P.M. appear before or after the time string. | |
TimeSeparator | Gets the time separator that is used on the server. | |
TimeZone | Gets the time zone that is used on the server. | |
TimeZones | Gets the collection of time zones used in a server farm. | |
WorkDayEndHour | Gets or sets the default hour at which the work day ends on the calendar that is in use on the server. | |
WorkDays | Gets or sets a number that represents the work days of Web site calendars. | |
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 | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetDefaultCalendarType | Returns the default calendar type for the specified locale ID. | |
GetDefaultCollation | Returns the default collation used on the site based on the specified locale identifier (LCID). | |
GetDefaultTime24 | Returns a value that specifies whether the 24-hour time format is the default format for representing time on the site for the specified locale ID. | |
GetHashCode | (Inherited from Object.) | |
GetTimeZoneID | Returns the ID of the time zone used on the site based on the specified time zone settings. | |
GetTimeZoneIDByKeyName | Returns a sharepoint timezone id that correlates to a given Windows Time Zone ID. Windows tzids are subkeys in the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Time Zones branch in the registry. | |
GetType | (Inherited from Object.) | |
IsRightToLeftLocale | Returns a Boolean value that indicates whether the locale ID represents a right-to-left language. | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top