Documentation ¶
Rendered for windows/amd64
Index ¶
- Constants
- func StorageFileCreateStreamedFileAsync(displayNameWithExtension string, ...) (*foundation.IAsyncOperation, error)
- func StorageFileCreateStreamedFileFromUriAsync(displayNameWithExtension string, uri *foundation.Uri, ...) (*foundation.IAsyncOperation, error)
- func StorageFileGetFileFromApplicationUriAsync(uri *foundation.Uri) (*foundation.IAsyncOperation, error)
- func StorageFileGetFileFromPathAsync(path string) (*foundation.IAsyncOperation, error)
- func StorageFileGetFileFromPathForUserAsync(user *system.User, path string) (*foundation.IAsyncOperation, error)
- func StorageFileReplaceWithStreamedFileAsync(fileToReplace *IStorageFile, dataRequested *StreamedFileDataRequestedHandler, ...) (*foundation.IAsyncOperation, error)
- func StorageFileReplaceWithStreamedFileFromUriAsync(fileToReplace *IStorageFile, uri *foundation.Uri, ...) (*foundation.IAsyncOperation, error)
- type StorageFile
- func (impl *StorageFile) CopyAndReplaceAsync(fileToReplace *IStorageFile) (*foundation.IAsyncAction, error)
- func (impl *StorageFile) CopyOverload(destinationFolder *IStorageFolder, desiredNewName string, ...) (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) CopyOverloadDefaultNameAndOptions(destinationFolder *IStorageFolder) (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) CopyOverloadDefaultOptions(destinationFolder *IStorageFolder, desiredNewName string) (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) DeleteAsync(option StorageDeleteOption) (*foundation.IAsyncAction, error)
- func (impl *StorageFile) DeleteAsyncOverloadDefaultOptions() (*foundation.IAsyncAction, error)
- func (impl *StorageFile) GetAttributes() (FileAttributes, error)
- func (impl *StorageFile) GetBasicPropertiesAsync() (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) GetContentType() (string, error)
- func (impl *StorageFile) GetDateCreated() (foundation.DateTime, error)
- func (impl *StorageFile) GetDisplayName() (string, error)
- func (impl *StorageFile) GetDisplayType() (string, error)
- func (impl *StorageFile) GetFileType() (string, error)
- func (impl *StorageFile) GetFolderRelativeId() (string, error)
- func (impl *StorageFile) GetIsAvailable() (bool, error)
- func (impl *StorageFile) GetName() (string, error)
- func (impl *StorageFile) GetParentAsync() (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) GetPath() (string, error)
- func (impl *StorageFile) GetProperties() (*fileproperties.StorageItemContentProperties, error)
- func (impl *StorageFile) GetProvider() (*StorageProvider, error)
- func (impl *StorageFile) GetScaledImageAsThumbnailAsync(mode fileproperties.ThumbnailMode, requestedSize uint32, ...) (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) GetScaledImageAsThumbnailAsyncOverloadDefaultOptions(mode fileproperties.ThumbnailMode, requestedSize uint32) (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions(mode fileproperties.ThumbnailMode) (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) GetThumbnailAsync(mode fileproperties.ThumbnailMode, requestedSize uint32, ...) (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) GetThumbnailAsyncOverloadDefaultOptions(mode fileproperties.ThumbnailMode, requestedSize uint32) (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(mode fileproperties.ThumbnailMode) (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) IsEqual(item *IStorageItem) (bool, error)
- func (impl *StorageFile) IsOfType(mType StorageItemTypes) (bool, error)
- func (impl *StorageFile) MoveAndReplaceAsync(fileToReplace *IStorageFile) (*foundation.IAsyncAction, error)
- func (impl *StorageFile) MoveOverload(destinationFolder *IStorageFolder, desiredNewName string, ...) (*foundation.IAsyncAction, error)
- func (impl *StorageFile) MoveOverloadDefaultNameAndOptions(destinationFolder *IStorageFolder) (*foundation.IAsyncAction, error)
- func (impl *StorageFile) MoveOverloadDefaultOptions(destinationFolder *IStorageFolder, desiredNewName string) (*foundation.IAsyncAction, error)
- func (impl *StorageFile) OpenAsync(accessMode FileAccessMode) (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) OpenReadAsync() (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) OpenSequentialReadAsync() (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) OpenTransactedWriteAsync() (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) OpenTransactedWriteWithOptionsAsync(options StorageOpenOptions) (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) OpenWithOptionsAsync(accessMode FileAccessMode, options StorageOpenOptions) (*foundation.IAsyncOperation, error)
- func (impl *StorageFile) RenameAsync(desiredName string, option NameCollisionOption) (*foundation.IAsyncAction, error)
- func (impl *StorageFile) RenameAsyncOverloadDefaultOptions(desiredName string) (*foundation.IAsyncAction, error)
Constants ¶
View Source
const GUIDiStorageFileStatics string = "5984c710-daf2-43c8-8bb4-a4d3eacfd03f"
View Source
const GUIDiStorageFileStatics2 string = "5c76a781-212e-4af9-8f04-740cae108974"
View Source
const SignatureStorageFile string = "rc(Windows.Storage.StorageFile;{fa3f6186-4214-428c-a64c-14c9ac7315ea})"
View Source
const SignatureiStorageFileStatics string = "{5984c710-daf2-43c8-8bb4-a4d3eacfd03f}"
View Source
const SignatureiStorageFileStatics2 string = "{5c76a781-212e-4af9-8f04-740cae108974}"
Variables ¶
This section is empty.
Functions ¶
func StorageFileCreateStreamedFileAsync ¶
func StorageFileCreateStreamedFileAsync(displayNameWithExtension string, dataRequested *StreamedFileDataRequestedHandler, thumbnail *streams.IRandomAccessStreamReference) (*foundation.IAsyncOperation, error)
func StorageFileCreateStreamedFileFromUriAsync ¶
func StorageFileCreateStreamedFileFromUriAsync(displayNameWithExtension string, uri *foundation.Uri, thumbnail *streams.IRandomAccessStreamReference) (*foundation.IAsyncOperation, error)
func StorageFileGetFileFromApplicationUriAsync ¶
func StorageFileGetFileFromApplicationUriAsync(uri *foundation.Uri) (*foundation.IAsyncOperation, error)
func StorageFileGetFileFromPathAsync ¶
func StorageFileGetFileFromPathAsync(path string) (*foundation.IAsyncOperation, error)
func StorageFileGetFileFromPathForUserAsync ¶
func StorageFileGetFileFromPathForUserAsync(user *system.User, path string) (*foundation.IAsyncOperation, error)
func StorageFileReplaceWithStreamedFileAsync ¶
func StorageFileReplaceWithStreamedFileAsync(fileToReplace *IStorageFile, dataRequested *StreamedFileDataRequestedHandler, thumbnail *streams.IRandomAccessStreamReference) (*foundation.IAsyncOperation, error)
func StorageFileReplaceWithStreamedFileFromUriAsync ¶
func StorageFileReplaceWithStreamedFileFromUriAsync(fileToReplace *IStorageFile, uri *foundation.Uri, thumbnail *streams.IRandomAccessStreamReference) (*foundation.IAsyncOperation, error)
Types ¶
type StorageFile ¶
type StorageFile struct {
ole.IUnknown
}
func (*StorageFile) CopyAndReplaceAsync ¶
func (impl *StorageFile) CopyAndReplaceAsync(fileToReplace *IStorageFile) (*foundation.IAsyncAction, error)
func (*StorageFile) CopyOverload ¶
func (impl *StorageFile) CopyOverload(destinationFolder *IStorageFolder, desiredNewName string, option NameCollisionOption) (*foundation.IAsyncOperation, error)
func (*StorageFile) CopyOverloadDefaultNameAndOptions ¶
func (impl *StorageFile) CopyOverloadDefaultNameAndOptions(destinationFolder *IStorageFolder) (*foundation.IAsyncOperation, error)
func (*StorageFile) CopyOverloadDefaultOptions ¶
func (impl *StorageFile) CopyOverloadDefaultOptions(destinationFolder *IStorageFolder, desiredNewName string) (*foundation.IAsyncOperation, error)
func (*StorageFile) DeleteAsync ¶
func (impl *StorageFile) DeleteAsync(option StorageDeleteOption) (*foundation.IAsyncAction, error)
func (*StorageFile) DeleteAsyncOverloadDefaultOptions ¶
func (impl *StorageFile) DeleteAsyncOverloadDefaultOptions() (*foundation.IAsyncAction, error)
func (*StorageFile) GetAttributes ¶
func (impl *StorageFile) GetAttributes() (FileAttributes, error)
func (*StorageFile) GetBasicPropertiesAsync ¶
func (impl *StorageFile) GetBasicPropertiesAsync() (*foundation.IAsyncOperation, error)
func (*StorageFile) GetContentType ¶
func (impl *StorageFile) GetContentType() (string, error)
func (*StorageFile) GetDateCreated ¶
func (impl *StorageFile) GetDateCreated() (foundation.DateTime, error)
func (*StorageFile) GetDisplayName ¶
func (impl *StorageFile) GetDisplayName() (string, error)
func (*StorageFile) GetDisplayType ¶
func (impl *StorageFile) GetDisplayType() (string, error)
func (*StorageFile) GetFileType ¶
func (impl *StorageFile) GetFileType() (string, error)
func (*StorageFile) GetFolderRelativeId ¶
func (impl *StorageFile) GetFolderRelativeId() (string, error)
func (*StorageFile) GetIsAvailable ¶
func (impl *StorageFile) GetIsAvailable() (bool, error)
func (*StorageFile) GetName ¶
func (impl *StorageFile) GetName() (string, error)
func (*StorageFile) GetParentAsync ¶
func (impl *StorageFile) GetParentAsync() (*foundation.IAsyncOperation, error)
func (*StorageFile) GetPath ¶
func (impl *StorageFile) GetPath() (string, error)
func (*StorageFile) GetProperties ¶
func (impl *StorageFile) GetProperties() (*fileproperties.StorageItemContentProperties, error)
func (*StorageFile) GetProvider ¶
func (impl *StorageFile) GetProvider() (*StorageProvider, error)
func (*StorageFile) GetScaledImageAsThumbnailAsync ¶
func (impl *StorageFile) GetScaledImageAsThumbnailAsync(mode fileproperties.ThumbnailMode, requestedSize uint32, options fileproperties.ThumbnailOptions) (*foundation.IAsyncOperation, error)
func (*StorageFile) GetScaledImageAsThumbnailAsyncOverloadDefaultOptions ¶
func (impl *StorageFile) GetScaledImageAsThumbnailAsyncOverloadDefaultOptions(mode fileproperties.ThumbnailMode, requestedSize uint32) (*foundation.IAsyncOperation, error)
func (*StorageFile) GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions ¶
func (impl *StorageFile) GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions(mode fileproperties.ThumbnailMode) (*foundation.IAsyncOperation, error)
func (*StorageFile) GetThumbnailAsync ¶
func (impl *StorageFile) GetThumbnailAsync(mode fileproperties.ThumbnailMode, requestedSize uint32, options fileproperties.ThumbnailOptions) (*foundation.IAsyncOperation, error)
func (*StorageFile) GetThumbnailAsyncOverloadDefaultOptions ¶
func (impl *StorageFile) GetThumbnailAsyncOverloadDefaultOptions(mode fileproperties.ThumbnailMode, requestedSize uint32) (*foundation.IAsyncOperation, error)
func (*StorageFile) GetThumbnailAsyncOverloadDefaultSizeDefaultOptions ¶
func (impl *StorageFile) GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(mode fileproperties.ThumbnailMode) (*foundation.IAsyncOperation, error)
func (*StorageFile) IsEqual ¶
func (impl *StorageFile) IsEqual(item *IStorageItem) (bool, error)
func (*StorageFile) IsOfType ¶
func (impl *StorageFile) IsOfType(mType StorageItemTypes) (bool, error)
func (*StorageFile) MoveAndReplaceAsync ¶
func (impl *StorageFile) MoveAndReplaceAsync(fileToReplace *IStorageFile) (*foundation.IAsyncAction, error)
func (*StorageFile) MoveOverload ¶
func (impl *StorageFile) MoveOverload(destinationFolder *IStorageFolder, desiredNewName string, option NameCollisionOption) (*foundation.IAsyncAction, error)
func (*StorageFile) MoveOverloadDefaultNameAndOptions ¶
func (impl *StorageFile) MoveOverloadDefaultNameAndOptions(destinationFolder *IStorageFolder) (*foundation.IAsyncAction, error)
func (*StorageFile) MoveOverloadDefaultOptions ¶
func (impl *StorageFile) MoveOverloadDefaultOptions(destinationFolder *IStorageFolder, desiredNewName string) (*foundation.IAsyncAction, error)
func (*StorageFile) OpenAsync ¶
func (impl *StorageFile) OpenAsync(accessMode FileAccessMode) (*foundation.IAsyncOperation, error)
func (*StorageFile) OpenReadAsync ¶
func (impl *StorageFile) OpenReadAsync() (*foundation.IAsyncOperation, error)
func (*StorageFile) OpenSequentialReadAsync ¶
func (impl *StorageFile) OpenSequentialReadAsync() (*foundation.IAsyncOperation, error)
func (*StorageFile) OpenTransactedWriteAsync ¶
func (impl *StorageFile) OpenTransactedWriteAsync() (*foundation.IAsyncOperation, error)
func (*StorageFile) OpenTransactedWriteWithOptionsAsync ¶
func (impl *StorageFile) OpenTransactedWriteWithOptionsAsync(options StorageOpenOptions) (*foundation.IAsyncOperation, error)
func (*StorageFile) OpenWithOptionsAsync ¶
func (impl *StorageFile) OpenWithOptionsAsync(accessMode FileAccessMode, options StorageOpenOptions) (*foundation.IAsyncOperation, error)
func (*StorageFile) RenameAsync ¶
func (impl *StorageFile) RenameAsync(desiredName string, option NameCollisionOption) (*foundation.IAsyncAction, error)
func (*StorageFile) RenameAsyncOverloadDefaultOptions ¶
func (impl *StorageFile) RenameAsyncOverloadDefaultOptions(desiredName string) (*foundation.IAsyncAction, error)
Click to show internal directories.
Click to hide internal directories.