GDStorageFolder Class |
Namespace: GD
public sealed class GDStorageFolder : IStorageItemProperties2, IStorageItemPropertiesWithProvider, IStorageItemProperties, IGDStorageItem, IGDStorageItem2, IGDStorageFolder, IGDStorageFolder2
The GDStorageFolder type exposes the following members.
Name | Description | |
---|---|---|
Attributes | Gets the attributes of the current folder. | |
DateCreated | Gets the date and time that the current folder was created. | |
DisplayName | Gets the user-friendly name of the current folder. | |
DisplayType | Gets the user-friendly description of the type of the folder. | |
EncryptedPath | Gets the encrypted path of the current folder in secure storage, if the folder has a path. | |
FolderRelativeId | This property is not implemented yet. | |
Name | Gets the name of the current folder. | |
Path | Gets the full path of the current folder 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 folder. |
Name | Description | |
---|---|---|
CreateFileAsync(String) | Creates a new file with the specified name in the current folder. | |
CreateFileAsync(String, CreationCollisionOption) | Creates a new file in the current folder. This method also specifies what to do if a file with the same name already exists in the current folder. | |
CreateFolderAsync(String) | Creates a new subfolder with the specified name in the current folder. | |
CreateFolderAsync(String, CreationCollisionOption) | Creates a new subfolder with the specified name in the current folder. This method also specifies what to do if a subfolder with the same name already exists in the current folder. | |
DeleteAsync | Deletes the current folder. | |
DeleteAsync(StorageDeleteOption) | Deletes the current folder. | |
Equals | (Inherited from Object.) | |
GetBasicPropertiesAsync | Gets the basic properties of the current folder. | |
GetFileAsync | Gets the specified file from the current folder. | |
GetFilesAsync | Gets all the files from the current folder. | |
GetFolderAsync | Gets the subfolder with the specified name from the current folder. | |
GetFolderFromPathAsync | Gets the folder that has the specified absolute path in the file system. | |
GetFoldersAsync | Gets all the subfolders in the current folder. | |
GetHashCode | (Inherited from Object.) | |
GetItemAsync | Gets the file or folder with the specified name from the current folder. | |
GetItemsAsync | Gets all the files and subfolders in the current folder. | |
GetParentAsync | Gets the parent folder of the current folder. | |
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 folder, sized for the specified purpose of the thumbnail. | |
GetThumbnailAsync(ThumbnailMode, UInt32) | Gets a thumbnail image for the current folder, sized for the specified purpose of the thumbnail. | |
GetThumbnailAsync(ThumbnailMode, UInt32, ThumbnailOptions) | Gets a thumbnail image for the current folder, sized for the specified purpose of the thumbnail. | |
GetType | (Inherited from Object.) | |
IsEqual | Indicates whether the current folder is equal to the specified folder. | |
IsOfType | Indicates whether the current GDStorageFolder matches the specified StorageItemTypes value. | |
RenameAsync(String) | Renames the current folder. | |
RenameAsync(String, NameCollisionOption) | Renames the current folder and specifies what to do if a folder with the same name already exists. | |
ToString | (Inherited from Object.) | |
TryGetItemAsync | Tries to get the file or folder with the specified name from the current folder. Returns null instead of raising an exception if the specified file or folder is not found. |
Typically you get GDStorageFolder objects as the return value of asynchronous method calls. For example, the static method GetFolderFromPathAsync(String) returns a GDStorageFolder that represents the specified folder inside SDK secure storage. You can get root folder of SDK secure storage using SecureFolder property from GDWindows class.
Processing of all file names and paths in BlackBerry Dynamics is always case-sensitive.
All slashes (/) used in paths will be automatically converted to backslashes(\).