Sitecore 5.1.1 API

Settings Methods

The methods of the Settings class are listed below. For a complete list of Settings class members, see the Settings Members topic.

Public Static (Shared) Methods

GetAppSettingOverloaded. Get named application setting.
GetBoolSettingGet boolean setting.
GetDesignSettingGet named design setting with default.
GetFileSettingOverloaded. Get named setting containg a file path.
GetIntSettingGet int setting.
GetLongSettingGet long setting.
GetNumberOfSettingsGet number of settings.
GetObject 
GetProviderObjectOverloaded.  
GetProviderObjects 
GetSettingOverloaded. Get named setting.
GetTimeSpanSettingOverloaded. Get setting containg a time span (hh:mm:ss)
WriteSettingOverloaded. Write a setting to web.config.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Settings Class | Sitecore.Configuration Namespace