Click or drag to resize

CachedIniFile Methods

The CachedIniFile type exposes the following members.

Methods
  NameDescription
Public methodAdd (Inherited from NullSafeDictionaryTKey, TValue.)
Public methodClear (Inherited from NullSafeDictionaryTKey, TValue.)
Public methodContainsKey (Inherited from NullSafeDictionaryTKey, TValue.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFlush
Flushes registry mapping for all INI files. is thrown.
Protected methodGetDefaultValue (Overrides NullSafeDictionaryTKey, TValueGetDefaultValue(TKey).)
Public methodGetEnumerator (Inherited from NullSafeDictionaryTKey, TValue.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad(Stream)
Loads settings from an INI file into this CachedIniFile object using Default text encoding. Existing settings in object is replaced.
Public methodLoad(TextReader)
Loads settings from an INI file into this CachedIniFile object. Existing settings in object is replaced.
Public methodLoad(String)
Loads settings from an INI file into this CachedIniFile object. Existing settings in object is replaced.
Public methodLoad(Stream, Encoding)
Loads settings from an INI file into this CachedIniFile object. Existing settings in object is replaced.
Public methodLoad(String, Encoding)
Loads settings from an INI file into this CachedIniFile object. Existing settings in object is replaced.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReload
Reloads settings from disk file. This is only supported if this object was created using a constructor that takes a filename or if a Load() method that takes a filename has been called earlier.
Public methodRemove (Inherited from NullSafeDictionaryTKey, TValue.)
Public methodSave
Saves current contents of this object to INI file that this object last loaded values from, either through constructor call with filename parameter or by calling Load method with filename parameter.
Public methodSave(String)
Saves current contents of this object to an INI file. If the file already exists, it is overwritten.
Public methodSave(String, Encoding)
Saves current contents of this object to an INI file. If the file already exists, it is overwritten.
Public methodSaveValue(String, String)
Saves a current value from this object to INI file that this object last loaded values from, either through constructor call with filename parameter or by calling Load method with filename parameter. Operation is carried out by calling Win32 API function WritePrivateProfileString. If call fails and exception is thrown.
Public methodSaveValue(String, String, String)
Saves a current value from this object to an INI file by calling Win32 API function WritePrivateProfileString. If call fails and exception is thrown.
Public methodStatic memberSaveValue(String, String, String, String)
Saves a value to an INI file by calling Win32 API function WritePrivateProfileString. If call fails and exception is thrown.
Public methodToString (Overrides ObjectToString.)
Public methodTryGetValue (Inherited from NullSafeDictionaryTKey, TValue.)
Public methodWriteSectionTo
Public methodWriteTo(Stream)
Public methodWriteTo(TextWriter)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueAdd (Inherited from NullSafeDictionaryTKey, TValue.)
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueContains (Inherited from NullSafeDictionaryTKey, TValue.)
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueCopyTo (Inherited from NullSafeDictionaryTKey, TValue.)
Explicit interface implementationPrivate methodIEnumerableKeyValuePairTKey, TValueGetEnumerator (Inherited from NullSafeDictionaryTKey, TValue.)
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueRemove (Inherited from NullSafeDictionaryTKey, TValue.)
Top
See Also