An implementation of IRandomAccessStreamWithContent type used in the Imaging namespace.
Syntax
var imageStream = GetThumbNailOperation.GetResults();
Attributes
- MarshalingBehaviorAttribute(Agile)
- VersionAttribute(NTDDI_WIN8)
Members
The ImageStream class has these types of members:
Methods
The ImageStream class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.
| Method | Description |
|---|---|
| CloneStream | Returns the file stream for the ImageStream. |
| Close [C++, JavaScript] | Closes the ImageStream. |
| Dispose [C#, VB] | Performs tasks associated with freeing, releasing, or resetting unmanaged resources. |
| FlushAsync | Asynchronously commits the current frame data and flushes all of the data on the image stream. |
| GetInputStreamAt | Returns an input stream at a specified location in a stream. |
| GetOutputStreamAt | Returns an output stream at a specified location in a stream. |
| ReadAsync | Reads data asynchronously from a sequential stream. |
| Seek | Sets the position of the stream to the specified value. |
| WriteAsync | Writes data asynchronously in a sequential stream. |
Properties
The ImageStream class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only | Indicates if you can read the stream. | |
| Read-only | Indicates if you can write to the stream. | |
| Read-only | Returns the data format of the stream. | |
| Read-only | Gets the byte offset of the stream. | |
| Read/write | Gets or sets the size of the random access stream. |
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Namespace |
|
|
Metadata |
|
Build date: 12/4/2012