Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 708 Bytes

datareader_close_811482585.md

File metadata and controls

22 lines (15 loc) · 708 Bytes
-api-id -api-type
M:Windows.Storage.Streams.DataReader.Close
winrt method

Windows.Storage.Streams.DataReader.Close

-description

Closes the current stream and releases system resources.

-remarks

DataReader takes ownership of the stream that is passed to its constructor. Calling this method also calls on the associated stream. After calling this method, calls to most other DataReader methods will fail.

If you do not want the associated stream to be closed when the reader closes, call DataReader.DetachStream before calling this method.

-examples

-see-also