Compartir a través de


FileStreamStorage<TKey>.Open(TKey, StreamAccess) Method

Definition

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

Implements

Applies to