| EfficientStorageManagerStoreFile Method |
Stores the content of the stream at the given id.
Namespace: Activsoft.StorageAssembly: Activsoft.Engine (in Activsoft.Engine.dll) Version: 6.0.0.0
Syntaxpublic string StoreFile(
Stream src,
string fileName,
int id,
bool overwrite
)
Public Function StoreFile (
src As Stream,
fileName As String,
id As Integer,
overwrite As Boolean
) As String
public:
String^ StoreFile(
Stream^ src,
String^ fileName,
int id,
bool overwrite
)
member StoreFile :
src : Stream *
fileName : string *
id : int *
overwrite : bool -> string
Parameters
- src
- Type: System.IOStream
The data to store into the file. - fileName
- Type: SystemString
Name of the file. - id
- Type: SystemInt32
The unique identifier. - overwrite
- Type: SystemBoolean
if set to true, overwrites the existing file, else, does nothing.
Return Value
Type:
StringThe path relative to the root directory.
See Also