StorageAccessor Members
Include Protected Members
Include Inherited Members
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The latest Enterprise Library information can be found at the Enterprise Library site. |
The StorageAccessor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
StorageAccessor(String) |
Initializes a new instance of the StorageAccessor class. This constructor opens the storage if it's available, or throws if it's not already created.
|
|
StorageAccessor(String, Int64) |
Initializes a new instance of the StorageAccessor class.
|
Methods
Name | Description | |
---|---|---|
ChangeMaxSize |
Changes the Maximum size that can be used by the storage. This method changes the max size, but does not trim entries if the new max size is smaller.
|
|
DeleteStorage |
Deletes storage for the supplied storage name.
|
|
Dispose() |
Releases resources.
|
|
Dispose(Boolean) |
Releases resources.
|
|
Equals | (Inherited from Object.) | |
Finalize |
Releases resources.
(Overrides Object.Finalize().) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
Overwrite |
Overwrites a portion of the content.
|
|
ReadAll |
Returns a dictionary with all the content saved in the storage.
|
|
Remove |
Removes the entry identified by id from the storage.
|
|
Save |
Saves the specified content.
|
|
ToString | (Inherited from Object.) | |
TryOpen |
Tries to open the storage that is currently on disk. If there is not a storage already created, nulla null reference (Nothing in Visual Basic) will be returned.
|
Properties
Name | Description | |
---|---|---|
IsReadOnly |
Gets a value indicating whether this instance is read only.
|
|
MaxSize |
Gets the maximum size.
|
|
UsedLogicalSize |
Gets the logical size used for storage.
|
|
UsedPhysicalSize |
Gets an estimate of the physical size used for storage.
|
See Also
Microsoft.Practices.EnterpriseLibrary.Common.Utility Namespace