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:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Frees all resources associated with this instance.
(Overrides ObjectFinalize.)
Public methodGetContentStream
Gets a stream instance on this content.
(Overrides ShellContentGetContentStream.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also