GDStorageFile Class |
Namespace: GD
public sealed class GDStorageFile : IStorageItemProperties2, IStorageItemPropertiesWithProvider, IStorageItemProperties, IRandomAccessStreamReference, IInputStreamReference, IStorageFilePropertiesWithAvailability, IGDStorageItem, IGDStorageItem2, IGDStorageFile
The GDStorageFile type exposes the following members.
Name | Description | |
---|---|---|
Attributes | Gets the attributes of the current file. | |
ContentType | This property is not implemented yet. | |
DateCreated | Gets the date and time that the current file was created. | |
DisplayName | Gets the user-friendly name for the file. | |
DisplayType | This property is not implemented yet. | |
EncryptedPath | Gets the encrypted path of the file in secure storage, if the file has a path. | |
FileType | Gets the type (file name extension) of the file. | |
FolderRelativeId | This property is not implemented yet. | |
IsAvailable | Indicates if the file is local, is cached locally, or can be downloaded. | |
Name | Gets the name of the current file. | |
Path | Gets the full path of the current file in the file system, if the path is available. | |
Properties | This property is not implemented yet. | |
Provider | Gets the StorageProvider object that contains info about the service that stores the current file. |
Name | Description | |
---|---|---|
CopyAndReplaceAsync | Replaces the specified file with a copy of the current file. | |
CopyAsync(IGDStorageFolder) | Creates a copy of the file in the specified folder. | |
CopyAsync(IGDStorageFolder, String) | Creates a copy of the file in the specified folder and renames the copy. | |
CopyAsync(IGDStorageFolder, String, NameCollisionOption) | Creates a copy of the file in the specified folder and renames the copy. This method also specifies what to do if a file with the same name already exists in the destination folder. | |
CreateStreamedFileAsync | This method is not implemented yet. | |
CreateStreamedFileFromUriAsync | This method is not implemented yet. | |
DeleteAsync | Deletes the current file. | |
DeleteAsync(StorageDeleteOption) | Deletes the current file. | |
Equals | (Inherited from Object.) | |
ExportFromSecureStorageAsync(IStorageFolder) | Exports an encrypted file from BlackBerry Dynamics secure storage to an external unencrypted location. | |
ExportFromSecureStorageAsync(IStorageFolder, String) | Exports an encrypted file from BlackBerry Dynamics secure storage to an external unencrypted location and changes name of exported file. | |
ExportFromSecureStorageAsync(IStorageFolder, NameCollisionOption) | Exports an encrypted file from BlackBerry Dynamics secure storage to an external unencrypted location. This method also specifies what to do if a file with the same name already exists in the destination folder. | |
ExportFromSecureStorageAsync(IStorageFolder, String, NameCollisionOption) | Exports an encrypted file from BlackBerry Dynamics secure storage to an external unencrypted location and changes name of exported file. This method also specifies what to do if a file with the same name already exists in the destination folder. | |
GetBasicPropertiesAsync | Gets the basic properties of the current file. | |
GetFileFromApplicationUriAsync | Gets a GDStorageFile object to represent the specified URI secure container resource. | |
GetFileFromPathAsync | Gets a GDStorageFile object to represent the file at the specified path. | |
GetHashCode | (Inherited from Object.) | |
GetParentAsync | Gets the parent folder of the current file. | |
GetScaledImageAsThumbnailAsync(ThumbnailMode) | Gets a scaled image as a thumbnail, determined by the purpose of the thumbnail. | |
GetScaledImageAsThumbnailAsync(ThumbnailMode, UInt32) | Gets a scaled image as a thumbnail, determined by the purpose of the thumbnail. | |
GetScaledImageAsThumbnailAsync(ThumbnailMode, UInt32, ThumbnailOptions) | Gets a scaled image as a thumbnail, determined by the purpose of the thumbnail. | |
GetThumbnailAsync(ThumbnailMode) | Gets a thumbnail image for the current file, sized for the specified purpose of the thumbnail. | |
GetThumbnailAsync(ThumbnailMode, UInt32) | Gets a thumbnail image for the current file, sized for the specified purpose of the thumbnail. | |
GetThumbnailAsync(ThumbnailMode, UInt32, ThumbnailOptions) | Gets a thumbnail image for the current file, sized for the specified purpose of the thumbnail. | |
GetType | (Inherited from Object.) | |
IsEqual | Indicates whether the current file is equal to the specified file. | |
IsOfType | Indicates whether the current GDStorageFile matches the specified StorageItemTypes value. | |
MoveAndReplaceAsync | Moves the current file to the location of the specified file and replaces the specified file in that location. | |
MoveAsync(IGDStorageFolder) | Moves the current file to the specified folder. | |
MoveAsync(IGDStorageFolder, String) | Moves the current file to the specified folder and renames the file according to the desired name. | |
MoveAsync(IGDStorageFolder, String, NameCollisionOption) | Moves the current file to the specified folder and renames the file according to the desired name. This method also specifies what to do if a file with the same name already exists in the specified folder. | |
MoveToSecureStorageAsync(IStorageFile, IGDStorageFolder) | Moves external file to BlackBerry Dynamics secure storage. | |
MoveToSecureStorageAsync(IStorageFile, IGDStorageFolder, String) | Moves external file to BlackBerry Dynamics secure storage and changes name of moved file. | |
MoveToSecureStorageAsync(IStorageFile, IGDStorageFolder, NameCollisionOption) | Moves external file to BlackBerry Dynamics secure storage. This method also specifies what to do if a file with the same name already exists in the destination folder. | |
MoveToSecureStorageAsync(IStorageFile, IGDStorageFolder, String, NameCollisionOption) | Moves external file to BlackBerry Dynamics secure storage and changes name of moved file. This method also specifies what to do if a file with the same name already exists in the destination folder. | |
OpenAsync | Opens a random-access stream over the file. | |
OpenReadAsync | Opens a random-access stream over the current file for reading file contents. | |
OpenSequentialReadAsync | Opens a sequential-access stream over the current file for reading file contents. | |
OpenTransactedWriteAsync | Opens a random-access stream to the file that can be used for transacted-write operations. | |
RenameAsync(String) | Renames the current file. | |
RenameAsync(String, NameCollisionOption) | 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. | |
ReplaceWithStreamedFileAsync | This method is not implemented yet. | |
ReplaceWithStreamedFileFromUriAsync | This method is not implemented yet. | |
ToString | (Inherited from Object.) |