FileStreamStorage<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.
public:
virtual System::IO::Stream ^ Open(TKey key, Microsoft::VisualStudio::Utilities::StreamAccess streamAccess);
public System.IO.Stream Open (TKey key, Microsoft.VisualStudio.Utilities.StreamAccess streamAccess);
abstract member Open : 'Key * Microsoft.VisualStudio.Utilities.StreamAccess -> System.IO.Stream
override this.Open : 'Key * Microsoft.VisualStudio.Utilities.StreamAccess -> System.IO.Stream
Public Function Open (key As TKey, streamAccess As StreamAccess) As Stream
Parameters
- key
- TKey
The key for the stream
- streamAccess
- StreamAccess
The desired access for the stream
Returns
The stream for key
, or null if it doesn't exist