共用方式為


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

Definition

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.

Applies to