메소드 | 설명 | |
---|---|---|
CopyAndReplaceAsync ( IStorageFile fileToReplace ) : System.Threading.Tasks.Task |
Replaces the specified file with a copy of the current file.
|
|
CopyAsync ( IStorageFolder destinationFolder ) : Task |
Creates a copy of the file in the specified folder.
|
|
CopyAsync ( IStorageFolder destinationFolder, string desiredNewName ) : Task |
Creates a copy of the file in the specified folder and renames the copy.
|
|
DeleteAsync ( ) : System.Threading.Tasks.Task |
Deletes the current file.
|
|
DeleteAsync ( StorageDeleteOption option ) : System.Threading.Tasks.Task |
Deletes the current file, optionally deleting the item permanently.
|
|
GetBasicPropertiesAsync ( ) : Task |
Gets the basic properties of the current file.
|
|
GetFileFromPathAsync ( string path ) : Task |
Gets a StorageFile object to represent the file at the specified path.
|
|
GetParentAsync ( ) : Task |
Gets the parent folder of the current file.
|
|
IsEqual ( IStorageItem item ) : bool |
Indicates whether the current file is equal to the specified file.
|
|
IsOfType ( StorageItemTypes type ) : bool |
Determines whether the current StorageFile matches the specified StorageItemTypes value.
|
|
MoveAndReplaceAsync ( IStorageFile fileToReplace ) : System.Threading.Tasks.Task |
Moves the current file to the location of the specified file and replaces the specified file in that location.
|
|
MoveAsync ( IStorageFolder destinationFolder ) : System.Threading.Tasks.Task |
Moves the current file to the specified folder and renames the file according to the desired name.
|
|
MoveAsync ( IStorageFolder destinationFolder, string desiredNewName ) : System.Threading.Tasks.Task |
Moves the current file to the specified folder and renames the file according to the desired name.
|
|
RenameAsync ( string desiredName ) : System.Threading.Tasks.Task |
Renames the current file.
|
|
RenameAsync ( string desiredName, NameCollisionOption option ) : System.Threading.Tasks.Task |
Renames the current file. This method also specifies what to do if an existing item in the current file's location has the same name.
|
메소드 | 설명 | |
---|---|---|
StorageFile ( Windows file ) : System | ||
StorageFile ( string path ) : System |
public CopyAndReplaceAsync ( IStorageFile fileToReplace ) : System.Threading.Tasks.Task | ||
fileToReplace | IStorageFile | |
리턴 | System.Threading.Tasks.Task |
public CopyAsync ( IStorageFolder destinationFolder ) : Task |
||
destinationFolder | IStorageFolder | The destination folder where the copy of the file is created. |
리턴 | Task |
public CopyAsync ( IStorageFolder destinationFolder, string desiredNewName ) : Task |
||
destinationFolder | IStorageFolder | The destination folder where the copy of the file is created. |
desiredNewName | string | The new name for the copy of the file created in the destinationFolder. |
리턴 | Task |
public DeleteAsync ( ) : System.Threading.Tasks.Task | ||
리턴 | System.Threading.Tasks.Task |
public DeleteAsync ( StorageDeleteOption option ) : System.Threading.Tasks.Task | ||
option | StorageDeleteOption | |
리턴 | System.Threading.Tasks.Task |
public static GetFileFromPathAsync ( string path ) : Task |
||
path | string | The path of the file to get a StorageFile to represent. /// If your path uses slashes, make sure you use backslashes(\). /// Forward slashes(/) are not accepted by this method. |
리턴 | Task |
public IsEqual ( IStorageItem item ) : bool | ||
item | IStorageItem | The |
리턴 | bool |
public IsOfType ( StorageItemTypes type ) : bool | ||
type | StorageItemTypes | The value to match against. |
리턴 | bool |
public MoveAndReplaceAsync ( IStorageFile fileToReplace ) : System.Threading.Tasks.Task | ||
fileToReplace | IStorageFile | The file to replace. |
리턴 | System.Threading.Tasks.Task |
public MoveAsync ( IStorageFolder destinationFolder ) : System.Threading.Tasks.Task | ||
destinationFolder | IStorageFolder | The destination folder where the file is moved. |
리턴 | System.Threading.Tasks.Task |
public MoveAsync ( IStorageFolder destinationFolder, string desiredNewName ) : System.Threading.Tasks.Task | ||
destinationFolder | IStorageFolder | The destination folder where the file is moved. |
desiredNewName | string | The desired name of the file after it is moved. |
리턴 | System.Threading.Tasks.Task |
public RenameAsync ( string desiredName ) : System.Threading.Tasks.Task | ||
desiredName | string | The desired, new name of the current item. |
리턴 | System.Threading.Tasks.Task |
public RenameAsync ( string desiredName, NameCollisionOption option ) : System.Threading.Tasks.Task | ||
desiredName | string | The desired, new name of the current file.
/// |
option | NameCollisionOption | The enum value that determines how the system responds if the desiredName is the same as the name of an existing item in the current file's location. |
리턴 | System.Threading.Tasks.Task |