Class StorageFolder

Index

Properties

Methods

Properties

public attributes: FileAttributes

public dateCreated: Date

public displayName: string

public displayType: string

public folderRelativeId: string

public name: string

public path: string

public properties: StorageItemContentProperties

Methods

public areQueryOptionsSupported(queryOptions: QueryOptions): boolean

Parameters

Returns

boolean

public createFileAsync(desiredName: string): IAsyncOperation

Parameters

  • desiredName: string

Returns

IAsyncOperation

public createFileAsync(desiredName: string, options: CreationCollisionOption): IAsyncOperation

Parameters

Returns

IAsyncOperation

public createFileQuery(): StorageFileQueryResult

Returns

StorageFileQueryResult

public createFileQuery(query: CommonFileQuery): StorageFileQueryResult

Parameters

Returns

StorageFileQueryResult

public createFileQueryWithOptions(queryOptions: QueryOptions): StorageFileQueryResult

Parameters

Returns

StorageFileQueryResult

public createFolderAsync(desiredName: string): IAsyncOperation

Parameters

  • desiredName: string

Returns

IAsyncOperation

public createFolderAsync(desiredName: string, options: CreationCollisionOption): IAsyncOperation

Parameters

Returns

IAsyncOperation

public createFolderQuery(): StorageFolderQueryResult

Returns

StorageFolderQueryResult

public createFolderQuery(query: CommonFolderQuery): StorageFolderQueryResult

Parameters

Returns

StorageFolderQueryResult

public createFolderQueryWithOptions(queryOptions: QueryOptions): StorageFolderQueryResult

Parameters

Returns

StorageFolderQueryResult

public createItemQuery(): StorageItemQueryResult

Returns

StorageItemQueryResult

public createItemQueryWithOptions(queryOptions: QueryOptions): StorageItemQueryResult

Parameters

Returns

StorageItemQueryResult

public deleteAsync(): IAsyncAction

Returns

IAsyncAction

public deleteAsync(option: StorageDeleteOption): IAsyncAction

Parameters

Returns

IAsyncAction

public getBasicPropertiesAsync(): IAsyncOperation

Returns

IAsyncOperation

public getFileAsync(name: string): IAsyncOperation

Parameters

  • name: string

Returns

IAsyncOperation

public getFilesAsync(): IAsyncOperation

Returns

IAsyncOperation

public getFilesAsync(query: CommonFileQuery, startIndex: number, maxItemsToRetrieve: number): IAsyncOperation

Parameters

Returns

IAsyncOperation

public getFilesAsync(query: CommonFileQuery): IAsyncOperation

Parameters

Returns

IAsyncOperation

public getFolderAsync(name: string): IAsyncOperation

Parameters

  • name: string

Returns

IAsyncOperation

public static getFolderFromPathAsync(path: string): IAsyncOperation

Parameters

  • path: string

Returns

IAsyncOperation

public getFoldersAsync(): IAsyncOperation

Returns

IAsyncOperation

public getFoldersAsync(query: CommonFolderQuery, startIndex: number, maxItemsToRetrieve: number): IAsyncOperation

Parameters

Returns

IAsyncOperation

public getFoldersAsync(query: CommonFolderQuery): IAsyncOperation

Parameters

Returns

IAsyncOperation

public getIndexedStateAsync(): IAsyncOperation

Returns

IAsyncOperation

public getItemAsync(name: string): IAsyncOperation

Parameters

  • name: string

Returns

IAsyncOperation

public getItemsAsync(): IAsyncOperation

Returns

IAsyncOperation

public getItemsAsync(startIndex: number, maxItemsToRetrieve: number): IAsyncOperation

Parameters

  • startIndex: number
  • maxItemsToRetrieve: number

Returns

IAsyncOperation

public getThumbnailAsync(mode: ThumbnailMode): IAsyncOperation

Parameters

Returns

IAsyncOperation

public getThumbnailAsync(mode: ThumbnailMode, requestedSize: number): IAsyncOperation

Parameters

Returns

IAsyncOperation

public getThumbnailAsync(mode: ThumbnailMode, requestedSize: number, options: ThumbnailOptions): IAsyncOperation

Parameters

Returns

IAsyncOperation

public isCommonFileQuerySupported(query: CommonFileQuery): boolean

Parameters

Returns

boolean

public isCommonFolderQuerySupported(query: CommonFolderQuery): boolean

Parameters

Returns

boolean

public isOfType(type: StorageItemTypes): boolean

Parameters

Returns

boolean

public renameAsync(desiredName: string): IAsyncAction

Parameters

  • desiredName: string

Returns

IAsyncAction

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

Parameters

Returns

IAsyncAction