Sdílet prostřednictvím


InputStreamOptions Enum

Definition

Specifies the read options for an input stream.

This enumeration supports a bitwise combination of its member values.

public enum class InputStreamOptions
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class InputStreamOptions
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum InputStreamOptions
var value = Windows.Storage.Streams.InputStreamOptions.none
Public Enum InputStreamOptions
Inheritance
InputStreamOptions
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
None 0

No options are specified.

Partial 1

The asynchronous read operation completes when one or more bytes is available.

ReadAhead 2

The asynchronous read operation may optionally read ahead and prefetch additional bytes.

Applies to

See also