共用方式為


IRandomAccessStream interface

Enables obtaining an asynchronous byte reader or byte writer that's positioned at the specified location on a random access byte stream.

Members

The IRandomAccessStream interface inherits from IInspectable. IRandomAccessStream also has these types of members:

  • Methods
  • Properties

Methods

The IRandomAccessStream interface has these methods.

Method Description
GetInputStreamAt

Gets a byte reader that's positioned at the specified offset.

GetOutputStreamAt

Gets a byte writer that's positioned at the specified offset.

 

Properties

The IRandomAccessStream interface has these properties.

Property Access type Description

Size

Read/write

Gets or sets the size of the stream.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Robytestream.h

IDL

Robytestream.idl

See also

IInspectable