FileShellContent Class |
Namespace: ShellBoost.Core
public class FileShellContent : ShellContent, IDisposable
The FileShellContent type exposes the following members.
| Name | Description | |
|---|---|---|
| FileShellContent |
Initializes a new instance of the FileShellContent class.
|
| Name | Description | |
|---|---|---|
| Clsid |
Gets the storage Class Id.
(Inherited from ShellContent.) | |
| CreationTime |
Gets or sets the file creation time.
(Overrides ShellContentCreationTime.) | |
| Info |
Gets the FileInfo instance.
| |
| LastAccessTime |
Gets or sets the file last access time.
(Overrides ShellContentLastAccessTime.) | |
| LastWriteTime |
Gets or sets the file last write time.
(Overrides ShellContentLastWriteTime.) | |
| Length |
Gets the file length.
(Overrides ShellContentLength.) | |
| LocksSupported |
Gets the content supported lock type.
(Inherited from ShellContent.) | |
| Mode |
Gets the stream mode.
(Inherited from ShellContent.) | |
| Name |
Gets or sets the file name.
(Overrides ShellContentName.) | |
| StateBits |
Gets the stream state bits.
(Inherited from ShellContent.) | |
| Stream |
Gets the underlying stream instance. Lazily loaded.
| |
| Type |
Gets the content storage type for Shell operations.
(Overrides ShellContentType.) |
| Name | Description | |
|---|---|---|
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| Dispose(Boolean) |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| Finalize |
Frees all resources associated with this instance.
(Overrides ObjectFinalize.) | |
| GetContentStream |
Gets a stream instance on this content.
(Overrides ShellContentGetContentStream.) | |
| OpenRead |
Opens the file for reading.
| |
| Read |
Reads a sequence of bytes from the current content and advances the position within the stream by the number of bytes read.
(Overrides ShellContentRead(Byte, Int32).) | |
| Seek |
Sets the position within the current stream.
(Overrides ShellContentSeek(Int64, SeekOrigin).) | |
| ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |