Interface IStorageFile

Hierarchy

Index

Properties

Methods

Properties

public attributes: FileAttributes

public contentType: string

public dateCreated: Date

public fileType: string

public name: string

public path: string

Methods

public copyAndReplaceAsync(fileToReplace: IStorageFile): IAsyncAction

Parameters

Returns

IAsyncAction

public copyAsync(destinationFolder: IStorageFolder): IAsyncOperation

Parameters

Returns

IAsyncOperation

public copyAsync(destinationFolder: IStorageFolder, desiredNewName: string): IAsyncOperation

Parameters

Returns

IAsyncOperation

public copyAsync(destinationFolder: IStorageFolder, desiredNewName: string, option: NameCollisionOption): IAsyncOperation

Parameters

Returns

IAsyncOperation

public deleteAsync(): IAsyncAction

Returns

IAsyncAction

public deleteAsync(option: StorageDeleteOption): IAsyncAction

Parameters

Returns

IAsyncAction

public getBasicPropertiesAsync(): IAsyncOperation

Returns

IAsyncOperation

public isOfType(type: StorageItemTypes): boolean

Parameters

Returns

boolean

public moveAndReplaceAsync(fileToReplace: IStorageFile): IAsyncAction

Parameters

Returns

IAsyncAction

public moveAsync(destinationFolder: IStorageFolder): IAsyncAction

Parameters

Returns

IAsyncAction

public moveAsync(destinationFolder: IStorageFolder, desiredNewName: string): IAsyncAction

Parameters

Returns

IAsyncAction

public moveAsync(destinationFolder: IStorageFolder, desiredNewName: string, option: NameCollisionOption): IAsyncAction

Parameters

Returns

IAsyncAction

public openAsync(accessMode: FileAccessMode): IAsyncOperation

Parameters

Returns

IAsyncOperation

public openReadAsync(): IAsyncOperation

Returns

IAsyncOperation

public openSequentialReadAsync(): IAsyncOperation

Returns

IAsyncOperation

public openTransactedWriteAsync(): IAsyncOperation

Returns

IAsyncOperation

public renameAsync(desiredName: string): IAsyncAction

Parameters

  • desiredName: string

Returns

IAsyncAction

public renameAsync(desiredName: string, option: NameCollisionOption): IAsyncAction

Parameters

Returns

IAsyncAction