Click or drag to resize

MemoryShellContent Class

Defines the content of a Shell Item that's represented by a text or a byte array. When created, an instance of the FileShellContent type opens a read-only stream to the data.
Inheritance Hierarchy

Namespace:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public class MemoryShellContent : ShellContent, 
	IDisposable

The MemoryShellContent type exposes the following members.

Constructors
  NameDescription
Public methodMemoryShellContent(Byte)
Initializes a new instance of the MemoryShellContent class.
Public methodMemoryShellContent(Stream)
Initializes a new instance of the MemoryShellContent class.
Public methodMemoryShellContent(String)
Initializes a new instance of the MemoryShellContent class.
Public methodMemoryShellContent(String, Encoding)
Initializes a new instance of the MemoryShellContent class.
Top
Properties
  NameDescription
Public propertyClsid
Gets the storage Class Id.
(Inherited from ShellContent.)
Public propertyCreationTime
Gets or sets the creation time.
(Inherited from ShellContent.)
Public propertyLastAccessTime
Gets or sets the last access time.
(Inherited from ShellContent.)
Public propertyLastWriteTime
Gets or sets the last write time.
(Inherited from ShellContent.)
Public propertyLength
Gets the content length.
(Overrides ShellContentLength.)
Public propertyLocksSupported
Gets the content supported lock type.
(Inherited from ShellContent.)
Public propertyMode
Gets the stream mode.
(Inherited from ShellContent.)
Public propertyName
Gets or sets the content name.
(Inherited from ShellContent.)
Public propertyStateBits
Gets the stream state bits.
(Inherited from ShellContent.)
Public propertyType
Gets the content storage type for Shell operations.
(Overrides ShellContentType.)
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodFinalize
Frees all resources associated with this instance.
(Overrides ObjectFinalize.)
Public methodGetContentStream
Gets a stream instance on this content.
(Overrides ShellContentGetContentStream.)
Public methodRead
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).)
Public methodSeek
Sets the position within the current stream.
(Overrides ShellContentSeek(Int64, SeekOrigin).)
Top
See Also