[]
        
(Showing Draft Content)

C1.C1Preview.C1MultiDocument.SetStorage

SetStorage Method

SetStorage(StorageType, string)

Sets the temporary storage type used by the current multi-document. Note that document items are actually moved from old storage to new by this method.

Declaration
public void SetStorage(StorageType storageType, string storagePath)
Parameters
Type Name Description
StorageType storageType

The new storage type to use.

string storagePath

The temporary directory to use if storageType is StorageType.Disk.

SetStorage(StorageType)

Sets the temporary storage type used by the current multi-document. Note that document items are actually moved from old storage to new by this method.

Declaration
public void SetStorage(StorageType storageType)
Parameters
Type Name Description
StorageType storageType

The new storage type to use.