Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UnmanagedMemoryStream Methods

(see also Protected Methods )
  Name Description
Public method BeginRead  Begins an asynchronous read operation. (inherited from Stream)
Public method BeginWrite  Begins an asynchronous write operation. (inherited from Stream)
Public method Close  Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. (inherited from 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 Dispose Overloaded.  
Public method EndRead  Waits for the pending asynchronous read to complete. (inherited from Stream)
Public method EndWrite  Ends an asynchronous write operation. (inherited from Stream)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Flush Overridden. Overrides the Flush method so that no action is performed.
Public method 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 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 Read Overridden. Reads the specified number of bytes into the specified array.
Public method ReadByte Overridden. Reads a byte from a stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Seek Overridden. Sets the current position of the current stream to the given value.
Public method SetLength Overridden. Sets the length of a stream to a specified value.
Public method Static Synchronized  Creates a thread-safe (synchronized) wrapper around the specified Stream object. (inherited from Stream)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Write Overridden. Writes a block of bytes to the current stream using data from a buffer.
Public method WriteByte Overridden. Writes a byte to the current position in the file stream.

  Name Description
Protected method CreateWaitHandle  Allocates a WaitHandle object. (inherited from Stream)
Protected method Dispose Overloaded. Overridden.  
Protected method 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 Initialize Initializes a new instance of the UnmanagedMemoryStream class.
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
© 2018 Microsoft