IStreamStorage<TKey>.Open(TKey, StreamAccess) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Open an existing Stream in storage for reading.
public:
System::IO::Stream ^ Open(TKey key, Microsoft::VisualStudio::Utilities::StreamAccess access);
public System.IO.Stream Open (TKey key, Microsoft.VisualStudio.Utilities.StreamAccess access);
abstract member Open : 'Key * Microsoft.VisualStudio.Utilities.StreamAccess -> System.IO.Stream
Public Function Open (key As TKey, access As StreamAccess) As Stream
Parameters
- key
- TKey
Key to the existing stream.
- access
- StreamAccess
Requested access for the stream
Returns
An open stream for reading. It is the responsibility of the caller to dispose the Stream.