Detaches the IInputStream object from the MSStream in order to use the backing IInputStream object in other WinRT APIs.
Syntaxvar retVal = MSStream.msDetachStream();
This method has no parameters.
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.