Export (0) Print
Expand All

Stream Members

Provides a generic view of a sequence of bytes.

The following tables list the members exposed by the Stream type.

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Stream Initializes a new instance of the Stream class.
Top

  Name Description
Public field Static Supported by the .NET Compact Framework Supported by the XNA Framework Null A Stream with no backing store.
Top

  Name Description
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CanRead When overridden in a derived class, gets a value indicating whether the current stream supports reading.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CanSeek When overridden in a derived class, gets a value indicating whether the current stream supports seeking.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CanTimeout Gets a value that determines whether the current stream can time out.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CanWrite When overridden in a derived class, gets a value indicating whether the current stream supports writing.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Length When overridden in a derived class, gets the length in bytes of the stream.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Position When overridden in a derived class, gets or sets the position within the current stream.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ReadTimeout Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework WriteTimeout Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework BeginRead Begins an asynchronous read operation.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework BeginWrite Begins an asynchronous write operation.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Close Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Dispose Overloaded. Releases all resources used by the Stream object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework EndRead Waits for the pending asynchronous read to complete.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework EndWrite Ends an asynchronous write operation.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Flush When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Read When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadByte Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Seek When overridden in a derived class, sets the position within the current stream.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework SetLength When overridden in a derived class, sets the length of the current stream.
Public method Static Synchronized Creates a thread-safe (synchronized) wrapper around the specified Stream object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Write When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteByte Writes a byte to the current position in the stream and advances the position within the stream by one byte.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework CreateWaitHandle Allocates a WaitHandle object.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Dispose Overloaded. Releases all resources used by the Stream object.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top

Community Additions

ADD
Show:
© 2014 Microsoft