Platform Core .NET Assemblies API
FindContentStorageId Method
See Also  Send Feedback
Terrasoft.File.Abstractions.Content Namespace > IFileContentStorageSelector Interface : FindContentStorageId Method
fileMetadata
An instance of the Terrasoft.File.Abstractions.Metadata.FileMetadata or derived type.
isForNew
Determines whether the file we need to get content storage for is new or already existing.
storages
The list of the registered storages.

Glossary Item Box

Selects an appropriate file content storage by a provided fileMetadata.

Syntax

 
C#
 
 

Parameters

fileMetadata
An instance of the Terrasoft.File.Abstractions.Metadata.FileMetadata or derived type.
isForNew
Determines whether the file we need to get content storage for is new or already existing.
storages
The list of the registered storages.

Return Value

Selected file content storage identifier.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2021.