Clears the contents of the active language-specific storage object (set through the LanguageID property). If LanguageID is empty (“”), then the primary (language-neutral) storage object is cleared. To clear all storage objects, use ClearAll().

ClearAll

Clears the contents of the storage object and any language-specific storage object children. To clear only the active storage object (set through the LanguageID property), use the Clear() method.

Create

Returns an instance of the new DecoupledStorage with the specifed BasePath, Category and PageName properties.

Delete

Physically removes the storage from the system.

DeleteAll

Physically removes the storage and its folders from the system.

DeleteFolder

Physically removes the specified folder from the system.

DeleteKey

Deletes the specified key in the given section.

EraseSection

Deletes the specified section.

GetKeys

Returns a string array of keys for the given section.

GetRootFolders

Returns a collection of the root folders.

GetSections

Returns a string array of sections.

GetSubFolders

Returns a collection of subfolders inside the specified folder. Note that the value can be null if the folder contains subfolders without storage.

LoadSerialized

Loads a serializable object from the specified file name (which should be without a path). If this method is called when this storage object is in a language-specific state (e.g., LanguageID = “CSharp“), the actual file name will have the LanguageID inserted before the file extension (e.g., “HelloWorld.bin” becomes “HelloWorld.CSharp.bin“). If this storage object is in a language-neutral state (e.g., LanguageID = “”), then the file name is unchanged.

LoadSubFolders

Loads and initializes folders of this storage.

ReadBoolean

Reads a boolean value from the storage object. If the section or key was not found, this method returns the value passed in defaultValue.

ReadChar

Reads a char value from the storage object. If the section or key was not found, this method returns the value passed in defaultValue.

ReadColor

Reads a Color value from the storage object. If the section or key was not found, this method returns the value passed in defaultValue.

ReadDateTime

Reads a DateTime value from the storage object. If the section or key was not found, this method returns the value passed in defaultValue.

ReadDouble

Reads a Double value from the storage object. If the section or key was not found, this method returns the value passed in defaultValue.

ReadEnum

Reads a enumeration element value from the storage object. If the section or key was not found, this method returns the value passed in defaultValue.

ReadInt32

Reads a System.Int32 value from the storage object. If the section or key was not found, this method returns the value passed in defaultValue.

ReadSingle

Reads a Single value from the storage object. If the section or key was not found, this method returns the value passed in defaultValue.

ReadString

Reads a string value from the storage object. If the section or key was not found, this method returns the value passed in defaultValue.

ReadStrings

Reads a string array value from the storage object. If the section or key is not found, this method returns the value passed in defaultValue.

ReadXmlNode

Reads a System.Xml.XmlNode value from the storage object. If the name was not found, this method returns null.

SaveSerialized

Saves a serializable object to the specified file name (which should be without a path). If this method is called when this storage object is in a language-specific state (e.g., LanguageID = “CSharp“), the actual file name will have the LanguageID inserted before the file extension (e.g., “HelloWorld.bin” becomes “HelloWorld.CSharp.bin“). If this storage object is in a language-neutral state (e.g., LanguageID = “”), then the file name is unchanged.

SetStorageObject

Sets the IStorageObject implementer to be used for storing data in the particular format. Note that it is hidden from Intellisense.

UpdateStorage

Commits changes to disk. If any language-specific storage object children have been created, that data is also committed to disk.