Class DirectoryInfo

    Definition

    Namespace:
    Tizen.Applications
    Assembly:
    Tizen.Applications.Common.dll

    Represents directory information of the application.

    public class DirectoryInfo
    Inheritance
    object
    DirectoryInfo

    Properties

    View Source

    Cache

    Gets the absolute path to the application's cache directory, which is used to store temporary data of the application.

    Declaration
    public string Cache { get; }
    Property Value
    Type Description
    string
    View Source

    Data

    Gets the absolute path to the application's data directory, which is used to store private data of the application.

    Declaration
    public string Data { get; }
    Property Value
    Type Description
    string
    View Source

    ExpansionPackageResource

    Gets the absolute path to the application's TEP(Tizen Expansion Package) directory. The resource files are delivered with the expansion package.

    Declaration
    public string ExpansionPackageResource { get; }
    Property Value
    Type Description
    string
    View Source

    ExternalCache

    Gets the absolute path to the application's external cache directory, which is used to store temporary data of the application.

    Declaration
    public string ExternalCache { get; }
    Property Value
    Type Description
    string
    View Source

    ExternalData

    Gets the absolute path to the application's external data directory, which is used to store data of the application.

    Declaration
    public string ExternalData { get; }
    Property Value
    Type Description
    string
    View Source

    ExternalSharedData

    Gets the absolute path to the application's external shared data directory, which is used to share data with other applications.

    Declaration
    public string ExternalSharedData { get; }
    Property Value
    Type Description
    string
    View Source

    Resource

    Gets the absolute path to the application resource directory. The resource files are delivered with the application package.

    Declaration
    public string Resource { get; }
    Property Value
    Type Description
    string
    View Source

    SharedData

    Gets the absolute path to the application's shared data directory, which is used to share data with other applications.

    Declaration
    public string SharedData { get; }
    Property Value
    Type Description
    string
    View Source

    SharedResource

    Gets the absolute path to the application's shared resource directory, which is used to share resources with other applications.

    Declaration
    public string SharedResource { get; }
    Property Value
    Type Description
    string
    View Source

    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
    public string SharedTrusted { get; }
    Property Value
    Type Description
    string

    Methods

    View Source

    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
    public 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.

    View Source

    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
    public 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.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX