SPRegionalSettings methods

The SPRegionalSettings type exposes the following members.

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 value that specifies whether the 24-hour time format is the default format for representing time on the site for the specified locale ID.
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 methodStatic member 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.
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