msDetachStream method

Detaches the IInputStream object from the MSStream in order to use the backing IInputStream object in other WinRT APIs.

Syntax

var retVal = MSStream.msDetachStream();

Parameters

This method has no parameters.

Remarks

msDetachStream releases the stream from the MSStream. After calling this method, the MSStream object no longer owns the IInputStream and is considered closed. Further operations on this MSStream object will fail with a FileClosedError.

See also

MSStream
msDetachStream (Blob)

 

 

Show:
© 2015 Microsoft