Class DirectoryInfo
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Common.dll
Represents directory information of the application.
C#Copypublic class DirectoryInfo
- Inheritance
-
objectDirectoryInfo
Properties
Cache
Gets the absolute path to the application's cache directory, which is used to store temporary data of the application.
Declaration
C#Copypublic string Cache { get; }
Property Value
| Type | Description |
|---|---|
| string |
Data
Gets the absolute path to the application's data directory, which is used to store private data of the application.
Declaration
C#Copypublic string Data { get; }
Property Value
| Type | Description |
|---|---|
| string |
ExpansionPackageResource
Gets the absolute path to the application's TEP(Tizen Expansion Package) directory. The resource files are delivered with the expansion package.
Declaration
C#Copypublic string ExpansionPackageResource { get; }
Property Value
| Type | Description |
|---|---|
| string |
ExternalCache
Gets the absolute path to the application's external cache directory, which is used to store temporary data of the application.
Declaration
C#Copypublic string ExternalCache { get; }
Property Value
| Type | Description |
|---|---|
| string |
ExternalData
Gets the absolute path to the application's external data directory, which is used to store data of the application.
Declaration
C#Copypublic string ExternalData { get; }
Property Value
| Type | Description |
|---|---|
| string |
ExternalSharedData
Gets the absolute path to the application's external shared data directory, which is used to share data with other applications.
Declaration
C#Copypublic string ExternalSharedData { get; }
Property Value
| Type | Description |
|---|---|
| string |
Resource
Gets the absolute path to the application resource directory. The resource files are delivered with the application package.
Declaration
C#Copypublic string Resource { get; }
Property Value
| Type | Description |
|---|---|
| string |
SharedData
Gets the absolute path to the application's shared data directory, which is used to share data with other applications.
Declaration
C#Copypublic string SharedData { get; }
Property Value
| Type | Description |
|---|---|
| string |
SharedResource
Gets the absolute path to the application's shared resource directory, which is used to share resources with other applications.
Declaration
C#Copypublic string SharedResource { get; }
Property Value
| Type | Description |
|---|---|
| string |
SharedTrusted
Gets the absolute path to the application's shared trusted directory, which is used to share data with a family of trusted applications.
Declaration
C#Copypublic string SharedTrusted { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetResourceControlAllowedResource(string)
Gets the absolute path to the application's resource control directory, which is used to share the allowed resources of the resource packages.
Declaration
C#Copypublic string GetResourceControlAllowedResource(string resourceType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | resourceType | The resource type defined in the resource package |
Returns
| Type | Description |
|---|---|
| string | The absolute path to the application's resource control directory, which is used to share the allowed resources of the resource packages. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | Thrown in case of an invalid parameter. |
| System.OutOfMemoryException | Thrown in case of out of memory. |
| System.IO.DirectoryNotFoundException | Thrown in case of nonexistence of resource. |
| System.InvalidOperationException | Thrown in case of any internal error. |
GetResourceControlGlobalResource(string)
Gets the absolute path to the application's resource control directory, which is used to share the global resources of the resource packages.
Declaration
C#Copypublic string GetResourceControlGlobalResource(string resourceType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | resourceType | The resource type defined in the resource package |
Returns
| Type | Description |
|---|---|
| string | The absolute path to the application's resource control directory, which is used to share the global resources of the resource packages. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | Thrown in case of an invalid parameter. |
| System.OutOfMemoryException | Thrown in case of out of memory. |
| System.IO.DirectoryNotFoundException | Thrown in case of nonexistence of resource. |
| System.InvalidOperationException | Thrown in case of any internal error. |