메소드 | 설명 | |
---|---|---|
CopyFile ( |
Copy a file from a source StorageFolder to a destination StorageFolder
|
|
CopyFolder ( |
Copy a StorageFolder and its content to a specified directory
|
|
CreateDirectory ( StorageFolder storageFolder, string path ) : Task |
Creates a directory into a specified StorageFolder by creating all missing StorageFolder
|
|
CreateFolder ( StorageFolder storageFolder, string folderName, CreationCollisionOption creationOption ) : Task |
Creates a StorageFolder into a specified StorageFolder
|
|
DeleteFile ( StorageFolder storageFolder, string fileName ) : Task |
Delete a file from a specified StorageFolder
|
|
DeleteFolder ( StorageFolder storageFolder, string folderName = null ) : Task |
Removes a StorageFolder into a specified StorageFolder
|
|
GetFreeSpace ( StorageFolder storageFolder ) : Task |
Get the free space of a StorageFolder
|
|
GetUsedSpace ( StorageFolder storageFolder ) : Task |
Get the used space of a StorageFolder
|
|
IsFileExists ( StorageFolder storageFolder, string fileName ) : Task |
Checks if a file exists into the StorageFolder
|
|
IsFolderExists ( StorageFolder storageFolder, string folderName ) : Task |
Checks if a folder exists into the StorageFolder
|
|
MoveFile ( StorageFolder source, StorageFolder destination, string fileName, string destinationFileName = null ) : Task |
Move a file from a source StorageFolder to a destination StorageFolder
|
|
MoveFolder ( StorageFolder source, StorageFolder destination, string directoryName ) : Task |
Move a StorageFolder and its content to a specified directory
|
|
ReadFile ( StorageFolder storageFolder, string fileName ) : Task |
Reads a file from a specified StorageFolder
|
|
WriteFile ( StorageFolder storageFolder, string fileName, string fileContent, CreationCollisionOption creationOption ) : Task |
Writes a string into a file located into a specified StorageFolder
|
메소드 | 설명 | |
---|---|---|
M4MFilePersistence ( ) : System |
public CopyFile ( |
||
source | the source folder containing the file | |
destination | the destination folder where write the new file | |
fileName | string | the file name |
destinationFileName | string | the destination file name (if different from the source) |
리턴 | Task |
public CopyFolder ( |
||
source | the source folder | |
destination | the destination folder where create the copy | |
directoryName | string | the copy directory |
리턴 | Task |
public CreateDirectory ( StorageFolder storageFolder, string path ) : Task |
||
storageFolder | StorageFolder | the folder where the function has to check |
path | string | the directory path |
리턴 | Task |
public CreateFolder ( StorageFolder storageFolder, string folderName, CreationCollisionOption creationOption ) : Task |
||
storageFolder | StorageFolder | the folder where the function has to check |
folderName | string | the folder name |
creationOption | CreationCollisionOption | the |
리턴 | Task |
public DeleteFile ( StorageFolder storageFolder, string fileName ) : Task |
||
storageFolder | StorageFolder | the folder where the function has to check |
fileName | string | the name of the file to delete |
리턴 | Task |
public DeleteFolder ( StorageFolder storageFolder, string folderName = null ) : Task |
||
storageFolder | StorageFolder | the folder where the function has to check |
folderName | string | the folder name |
리턴 | Task |
public GetFreeSpace ( StorageFolder storageFolder ) : Task |
||
storageFolder | StorageFolder | the folder where the function has to check |
리턴 | Task |
public GetUsedSpace ( StorageFolder storageFolder ) : Task |
||
storageFolder | StorageFolder | the folder where the function has to check |
리턴 | Task |
public IsFileExists ( StorageFolder storageFolder, string fileName ) : Task |
||
storageFolder | StorageFolder | the folder where the function has to check |
fileName | string | the name of the file |
리턴 | Task |
public IsFolderExists ( StorageFolder storageFolder, string folderName ) : Task |
||
storageFolder | StorageFolder | the folder where the function has to check |
folderName | string | the name of the folder |
리턴 | Task |
public MoveFile ( StorageFolder source, StorageFolder destination, string fileName, string destinationFileName = null ) : Task |
||
source | StorageFolder | the source folder containing the file |
destination | StorageFolder | the destination folder where write the new file |
fileName | string | the file name |
destinationFileName | string | the destination file name (if different from the source) |
리턴 | Task |
public MoveFolder ( StorageFolder source, StorageFolder destination, string directoryName ) : Task |
||
source | StorageFolder | the source folder |
destination | StorageFolder | the destination folder where create the copy |
directoryName | string | the copy directory |
리턴 | Task |
public ReadFile ( StorageFolder storageFolder, string fileName ) : Task |
||
storageFolder | StorageFolder | the folder where the function has to check |
fileName | string | the name of the file to read |
리턴 | Task |
public WriteFile ( StorageFolder storageFolder, string fileName, string fileContent, CreationCollisionOption creationOption ) : Task |
||
storageFolder | StorageFolder | the folder where the function has to check |
fileName | string | the file name |
fileContent | string | the file content |
creationOption | CreationCollisionOption | the |
리턴 | Task |