Compartir a través de


FileStreamStorage<TKey> Constructor

Definition

Initializes a new instance of FileStreamStorage.

 FileStreamStorage(Microsoft::VisualStudio::Utilities::IStreamStorageKeyFactory<TKey> const & keyFactory, std::wstring const & storagePath, std::wstring const & fileExtension = ".*");
public FileStreamStorage (Microsoft.VisualStudio.Utilities.IStreamStorageKeyFactory<TKey> keyFactory, string storagePath, string fileExtension = ".*");
new Microsoft.VisualStudio.Utilities.FileStreamStorage<'Key> : Microsoft.VisualStudio.Utilities.IStreamStorageKeyFactory<'Key> * string * string -> Microsoft.VisualStudio.Utilities.FileStreamStorage<'Key>
Public Sub New (keyFactory As IStreamStorageKeyFactory(Of TKey), storagePath As String, Optional fileExtension As String = ".*")

Parameters

keyFactory
IStreamStorageKeyFactory<TKey>

The storage key factory.

storagePath
String

The storage path.

fileExtension
String

By default, AllExtensions.

Applies to