C# Class Windows.Storage.StorageFile

Inheritance: IStorageFile, IStorageItem, IRandomAccessStreamReference, IInputStreamReference, IStorageItemProperties
Mostra file Open project: shiftkey/winrt-backport-hilarity Class Usage Examples

Public Methods

Method Description
CopyAndReplaceAsync ( [ fileToReplace ) : IAsyncAction
CreateStreamedFileAsync ( [ displayNameWithExtension, [ dataRequested, [ thumbnail ) : IAsyncOperation
CreateStreamedFileFromUriAsync ( [ displayNameWithExtension, [ uri, [ thumbnail ) : IAsyncOperation
GetBasicPropertiesAsync ( ) : IAsyncOperation
GetFileFromApplicationUriAsync ( [ uri ) : IAsyncOperation
GetFileFromPathAsync ( [ path ) : IAsyncOperation
IsOfType ( [ type ) : bool
MoveAndReplaceAsync ( [ fileToReplace ) : IAsyncAction
OpenAsync ( [ accessMode ) : IAsyncOperation
OpenReadAsync ( ) : IAsyncOperation
OpenSequentialReadAsync ( ) : IAsyncOperation
OpenTransactedWriteAsync ( ) : IAsyncOperation
ReplaceWithStreamedFileAsync ( [ fileToReplace, [ dataRequested, [ thumbnail ) : IAsyncOperation
ReplaceWithStreamedFileFromUriAsync ( [ fileToReplace, [ uri, [ thumbnail ) : IAsyncOperation

Private Methods

Method Description
CopyAsync ( [ destinationFolder ) : IAsyncOperation
CopyAsync ( [ destinationFolder, [ desiredNewName ) : IAsyncOperation
CopyAsync ( [ destinationFolder, [ desiredNewName, [ option ) : IAsyncOperation
DeleteAsync ( ) : IAsyncAction
DeleteAsync ( [ option ) : IAsyncAction
GetThumbnailAsync ( [ mode ) : IAsyncOperation
GetThumbnailAsync ( [ mode, [ requestedSize ) : IAsyncOperation
GetThumbnailAsync ( [ mode, [ requestedSize, [ options ) : IAsyncOperation
MoveAsync ( [ destinationFolder ) : IAsyncAction
MoveAsync ( [ destinationFolder, [ desiredNewName ) : IAsyncAction
MoveAsync ( [ destinationFolder, [ desiredNewName, [ option ) : IAsyncAction
RenameAsync ( [ desiredName ) : IAsyncAction
RenameAsync ( [ desiredName, [ option ) : IAsyncAction

Method Details

CopyAndReplaceAsync() public method

public CopyAndReplaceAsync ( [ fileToReplace ) : IAsyncAction
fileToReplace [
return IAsyncAction

CreateStreamedFileAsync() public static method

public static CreateStreamedFileAsync ( [ displayNameWithExtension, [ dataRequested, [ thumbnail ) : IAsyncOperation
displayNameWithExtension [
dataRequested [
thumbnail [
return IAsyncOperation

CreateStreamedFileFromUriAsync() public static method

public static CreateStreamedFileFromUriAsync ( [ displayNameWithExtension, [ uri, [ thumbnail ) : IAsyncOperation
displayNameWithExtension [
uri [
thumbnail [
return IAsyncOperation

GetBasicPropertiesAsync() public method

public GetBasicPropertiesAsync ( ) : IAsyncOperation
return IAsyncOperation

GetFileFromApplicationUriAsync() public static method

public static GetFileFromApplicationUriAsync ( [ uri ) : IAsyncOperation
uri [
return IAsyncOperation

GetFileFromPathAsync() public static method

public static GetFileFromPathAsync ( [ path ) : IAsyncOperation
path [
return IAsyncOperation

IsOfType() public method

public IsOfType ( [ type ) : bool
type [
return bool

MoveAndReplaceAsync() public method

public MoveAndReplaceAsync ( [ fileToReplace ) : IAsyncAction
fileToReplace [
return IAsyncAction

OpenAsync() public method

public OpenAsync ( [ accessMode ) : IAsyncOperation
accessMode [
return IAsyncOperation

OpenReadAsync() public method

public OpenReadAsync ( ) : IAsyncOperation
return IAsyncOperation

OpenSequentialReadAsync() public method

public OpenSequentialReadAsync ( ) : IAsyncOperation
return IAsyncOperation

OpenTransactedWriteAsync() public method

public OpenTransactedWriteAsync ( ) : IAsyncOperation
return IAsyncOperation

ReplaceWithStreamedFileAsync() public static method

public static ReplaceWithStreamedFileAsync ( [ fileToReplace, [ dataRequested, [ thumbnail ) : IAsyncOperation
fileToReplace [
dataRequested [
thumbnail [
return IAsyncOperation

ReplaceWithStreamedFileFromUriAsync() public static method

public static ReplaceWithStreamedFileFromUriAsync ( [ fileToReplace, [ uri, [ thumbnail ) : IAsyncOperation
fileToReplace [
uri [
thumbnail [
return IAsyncOperation