public class FileBackedDictionary<TKey, TValue, TKeyElem, TValueElem> : IDictionary<TKey, TValue>,
ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>,
IEnumerable, IDisposable
Public Class FileBackedDictionary(Of TKey, TValue, TKeyElem, TValueElem)
Implements IDictionary(Of TKey, TValue), ICollection(Of KeyValuePair(Of TKey, TValue)),
IEnumerable(Of KeyValuePair(Of TKey, TValue)), IEnumerable,
IDisposable
generic<typename TKey, typename TValue, typename TKeyElem, typename TValueElem>
public ref class FileBackedDictionary : IDictionary<TKey, TValue>,
ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>,
IEnumerable, IDisposable
CacheSize | Gets or sets the size of the cache used to store data from the file in memory. |
Count | Gets the number of elements contained in the FileBackedDictionaryTKey, TValue. |
DefaultSignature | Gets the default signature used by the FileBackedDictionaryTKey, TValue if no user-defined signature is supplied. |
FilePath | Gets or sets the path to the file backing this dictionary. |
FragmentationCount | Gets the number of operations that fragment the lookup table that have occurred since the last time the lookup table was compacted. |
IsReadOnly | Gets a value indicating whether the FileBackedDictionaryTKey, TValue is read-only. |
Item | Gets or sets the element with the specified key. |
Keys | Gets an FileBackedDictionaryTKey, TValue containing the keys of the FileBackedDictionaryTKey, TValue. |
Signature | Gets or sets the signature of the file backing the lookup table. |
Values | Gets an FileBackedDictionaryTKey, TValue containing the values in the FileBackedDictionaryTKey, TValue. |
Add(KeyValuePairTKey, TValue) | Adds an item to the FileBackedDictionaryTKey, TValue. |
Add(TKey, TValue) | Adds an element with the provided key and value to the FileBackedDictionaryTKey, TValue. |
Clear | Removes all items from the FileBackedDictionaryTKey, TValue. |
Close | Closes the file backing this dictionary. |
Compact | Defragments the item section of the dictionary, which gets fragmented after removing keys or updating values. |
Contains | Determines whether the FileBackedDictionaryTKey, TValue contains a specific value. |
ContainsKey | Determines whether the FileBackedDictionaryTKey, TValue contains an element with the specified key. |
CopyTo | Copies the elements of the FileBackedDictionaryTKey, TValue to an Array, starting at a particular Array index. |
Dispose | Releases all the resources used by the FileBackedDictionaryTKey, TValue object. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetEnumerator | Returns an enumerator that iterates through the collection. |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetKeys | Gets an enumerable used to iterate only the keys in the dictionary. |
GetType | Gets the Type of the current instance. (Inherited from Object) |
GetValues | Gets an enumerable used to iterate only the values in the dictionary. |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
Open | Opens the file backing this dictionary. |
OpenRead | Opens the file backing this hash set in read-only mode. |
Remove(TKey) | Removes the element with the specified key from the FileBackedDictionaryTKey, TValue. |
Remove(KeyValuePairTKey, TValue) | Removes the first occurrence of a specific object from the FileBackedDictionaryTKey, TValue. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
TryGetValue | Gets the value associated with the specified key. |