Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
System.IO Namespace
MemoryStream Class
 MemoryStream Members

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
MemoryStream Members

Creates a stream whose backing store is memory.

The MemoryStream type exposes the following members.

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemoryStreamOverloaded. Initializes a new instance of the MemoryStream class.
Top
  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkBeginRead Begins an asynchronous read operation. (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkBeginWrite Begins an asynchronous write operation. (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCloseOverloaded.
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCreateWaitHandle Obsolete. Allocates a WaitHandle object. (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkDisposeOverloaded.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEndRead Waits for the pending asynchronous read to complete. (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEndWrite Ends an asynchronous write operation. (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFlush Overrides Stream..::.Flush so that no action is performed. (Overrides Stream..::.Flush()()().)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetBuffer Returns the array of unsigned bytes from which this stream was created.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetType Gets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseCloneOverloaded.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkRead Reads a block of bytes from the current stream and writes the data to buffer. (Overrides Stream..::.Read(array<Byte>[]()[], Int32, Int32).)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadByte Reads a byte from the current stream. (Overrides Stream..::.ReadByte()()().)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSeek Sets the position within the current stream to the specified value. (Overrides Stream..::.Seek(Int64, SeekOrigin).)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSetLength Sets the length of the current stream to the specified value. (Overrides Stream..::.SetLength(Int64).)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToArray Writes the stream contents to a byte array, regardless of the Position property.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToString Returns a String that represents the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWrite Writes a block of bytes to the current stream using data read from buffer. (Overrides Stream..::.Write(array<Byte>[]()[], Int32, Int32).)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteByte Writes a byte to the current stream at the current position. (Overrides Stream..::.WriteByte(Byte).)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteTo Writes the entire contents of this memory stream to another stream.
Top
  NameDescription
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCanRead Gets a value indicating whether the current stream supports reading. (Overrides Stream..::.CanRead.)
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCanSeek Gets a value indicating whether the current stream supports seeking. (Overrides Stream..::.CanSeek.)
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCanTimeout Gets a value that determines whether the current stream can time out. (Inherited from Stream.)
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCanWrite Gets a value indicating whether the current stream supports writing. (Overrides Stream..::.CanWrite.)
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCapacity Gets or sets the number of bytes allocated for this stream.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkLength Gets the length of the stream in bytes. (Overrides Stream..::.Length.)
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkPosition Gets or sets the current position within the stream. (Overrides Stream..::.Position.)
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadTimeout Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from Stream.)
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteTimeout Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from Stream.)
Top
  NameDescription
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkIDisposable..::.Dispose For a description of this member, see IDisposable..::.Dispose. (Inherited from Stream.)
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker